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 DE0FFDBD3 for ; Wed, 5 Sep 2012 01:33:35 +0000 (UTC) Received: (qmail 65086 invoked by uid 500); 5 Sep 2012 01:33:33 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 65064 invoked by uid 500); 5 Sep 2012 01:33:33 -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 65055 invoked by uid 99); 5 Sep 2012 01:33:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2012 01:33:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FSL_RCVD_USER,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-a46.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2012 01:33:26 +0000 Received: from homiemail-a46.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a46.g.dreamhost.com (Postfix) with ESMTP id 46E8A3E405B for ; Tue, 4 Sep 2012 18:33:04 -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=gQwK8gdonPCujOVRMUVhydCUmn 0=; b=4F6+d+pk8HrTiie5GkQ+t3jZ7km2hsewSj7rIkNOxOMKH++xO4XytSR5j1 8WzBTUqkYVCM0mbYleO4Id6yYyAvmvB2S4yS9Un2CMVwrtjclsm9QnhOndRmK/ul amslUho5T3cSQV0FJrw6cqOJ9V6JgSz7pejMz0HTJpt4NNCHY= Received: from [192.168.2.77] (unknown [116.90.132.105]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a46.g.dreamhost.com (Postfix) with ESMTPSA id C2C383E4062 for ; Tue, 4 Sep 2012 18:33:03 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_3F662933-6E66-443A-BC3C-1528A6E791A8" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Subject: Re: configure KeyCahce to use Non-Heap memory ? Date: Wed, 5 Sep 2012 13:33:07 +1200 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1486) --Apple-Mail=_3F662933-6E66-443A-BC3C-1528A6E791A8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > Is there any way I can configure KeyCahce to use Non-Heap memory ?=20 No. You could add a feature request here = https://issues.apache.org/jira/browse/CASSANDRA Could you post some stats on the current key cache size and hit rate ? = (from nodetool info)=20 It would be interesting to know how many keys it contains Vs the number = of rows on the box and the hit rate.=20 Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 4/09/2012, at 3:01 PM, Ananth Gundabattula = wrote: >=20 > Is there any way I can configure KeyCahce to use Non-Heap memory ?=20 >=20 > We have large memory nodes : ~96GB memory per node and effectively = using only 8 GB configured for heap ( to avoid GC issues because of a = large heap)=20 >=20 > We have a constraint with respect to :=20 > Row cache models don't reflect our data query patterns and hence can = only optimize on the key cache=20 > Time constrained to change our schema to be more NO-SQL specific >=20 >=20 > Regards, > Ananth=20 --Apple-Mail=_3F662933-6E66-443A-BC3C-1528A6E791A8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Is there any way I = can configure KeyCahce to use Non-Heap memory = ? 
No.
You could add a feature request here https://issues.ap= ache.org/jira/browse/CASSANDRA
Could you post some stats on the = current key cache size and hit rate ? (from nodetool = info) 
It would be interesting to know how = many keys it contains Vs the number of rows on the box and the hit = rate. 


http://www.thelastpickle.com

On 4/09/2012, at 3:01 PM, Ananth Gundabattula <agundabattula@threatmetrix.= com> wrote:


Is there any way I can = configure KeyCahce to use Non-Heap memory = ? 

We have large memory nodes : =  ~96GB memory per node and effectively using only  8 GB = configured for heap ( to avoid GC issues because of a large = heap) 

We have a constraint with respect = to : 
  1. Row cache models don't reflect our data query = patterns and hence can only optimize on the key cache 
  2. Time = constrained to change our schema to be more NO-SQL = specific


Regards,
An= anth 

= --Apple-Mail=_3F662933-6E66-443A-BC3C-1528A6E791A8--