From user-return-29365-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon Oct 8 19:25:57 2012 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6FEE89D34 for ; Mon, 8 Oct 2012 19:25:57 +0000 (UTC) Received: (qmail 21322 invoked by uid 500); 8 Oct 2012 19:25:55 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 21294 invoked by uid 500); 8 Oct 2012 19:25:55 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 21285 invoked by uid 99); 8 Oct 2012 19:25:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2012 19:25:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a47.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2012 19:25:46 +0000 Received: from homiemail-a47.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a47.g.dreamhost.com (Postfix) with ESMTP id DE091284058 for ; Mon, 8 Oct 2012 12:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=YizpSWE3jCCkyM6XDNvrVRXPoG 4=; b=0FFkMD9drLEdn4KUM0hzp5DTHQScQSGphu31bkhojDnXaZAXSqULrdhTgX LxOYNkSSM0VtDVBrKFpXL0bKRw7+dj1YNQdytgqfBcNciDgb1s9BiBFYPMx7kNxt Hmi1CbYgQ0NJ0tgUFlzHnILUqY6ec/g2saKS9TWZ3+jQm9B1Y= Received: from [172.16.1.10] (unknown [203.86.207.101]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a47.g.dreamhost.com (Postfix) with ESMTPSA id 074D228406E for ; Mon, 8 Oct 2012 12:25:24 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_9B18A319-27A7-4EEC-8DF4-635323926127" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Subject: Re: Regarding Row Cache configuration and non-heap memory Date: Tue, 9 Oct 2012 08:25:21 +1300 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1498) --Apple-Mail=_9B18A319-27A7-4EEC-8DF4-635323926127 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 > In short the question is whether the row_cache_size_in_mb can exceed = the heap setting for cassandra 1.1.4 if jna.jar is present in the libs?=20= Yes.=20 AFAIK jna.jar is not required for off heap row cache in 1.1.X > My heap settings are 8G and new heap size is 1600M.=20 You can reduce the size of the heap in 1.1X. The default settings max = out of 4G.=20 Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 4/10/2012, at 3:21 PM, Ananth Gundabattula = wrote: > Hello, >=20 > I have configured cassandra 1.1.4 to use row cache of 10GB ( the RAM = on the machine is pretty big and hence the row cache size is high). My = heap settings are 8G and new heap size is 1600M.=20 >=20 > As I read from the forum and documentation, jna.jar allows to use = non-heap memory for the row caches.=20 >=20 > The question I have is how is the configuration in cassandra.yaml for = row_cache_size_in_mb interpreted? Is it referring to the non-heap = setting or the memory used inside the heap to maintain book-keeping = information about the non-heap memory ( as I gather from the postings = that heap is indeed used to some extent while still using the non-heap = memory for row caches).=20 >=20 > In short the question is whether the row_cache_size_in_mb can exceed = the heap setting for cassandra 1.1.4 if jna.jar is present in the libs?=20= >=20 > Thanks for your time.=20 >=20 > Regards, > Ananth=20 --Apple-Mail=_9B18A319-27A7-4EEC-8DF4-635323926127 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
In short the question = is whether the row_cache_size_in_mb can exceed the heap setting for = cassandra 1.1.4 if jna.jar is present in the = libs? 
AFAIK jna.jar is not required = for off heap row cache in 1.1.X

My heap settings are 8G and new = heap size is 1600M. 
You can reduce the size of = the heap in 1.1X. The default settings max out of 4G. 

Cheers
http://www.thelastpickle.com

On 4/10/2012, at 3:21 PM, Ananth Gundabattula <agundabattula@gmail.com> = wrote:

= Hello,
=
= I have configured cassandra 1.1.4 to use row cache of 10GB ( the RAM on = the machine is pretty big and hence the row cache size is = high).  My heap settings are 8G and new heap size is = 1600M. 
=
= As I read from the forum and documentation, jna.jar allows to use = non-heap memory for the row caches. 
=
= The question I have is how is the configuration in cassandra.yaml for = row_cache_size_in_mb interpreted? Is it referring to the non-heap = setting or the memory used inside the heap to maintain book-keeping = information about the non-heap memory ( as I gather from the postings = that heap is indeed used to some extent while still using the non-heap = memory for row caches). 
=
= In short the question is whether the row_cache_size_in_mb can exceed the = heap setting for cassandra 1.1.4 if jna.jar is present in the = libs? 
=
= Thanks for your time. 
=
= Regards,
= Ananth 

= --Apple-Mail=_9B18A319-27A7-4EEC-8DF4-635323926127--