From user-return-28582-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Sep 5 11:31:40 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 17D7BD22C for ; Wed, 5 Sep 2012 11:31:40 +0000 (UTC) Received: (qmail 80294 invoked by uid 500); 5 Sep 2012 11:31:37 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 80212 invoked by uid 500); 5 Sep 2012 11:31:37 -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 80202 invoked by uid 99); 5 Sep 2012 11:31:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2012 11:31:37 +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 (athena.apache.org: domain of agundabattula@threatmetrix.com designates 98.129.35.42 as permitted sender) Received: from [98.129.35.42] (HELO server505.appriver.com) (98.129.35.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2012 11:31:30 +0000 X-Note-AR-ScanTimeLocal: 9/5/2012 6:31:09 AM X-Policy: GLOBAL - threatmetrix.com X-Primary: agundabattula@threatmetrix.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: @threatmetrix.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNKNOWN->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.35.1 X-Note-Reverse-DNS: X-Note-Return-Path: agundabattula@threatmetrix.com X-Note: User Rule Hits: X-Note: Global Rule Hits: G285 G286 G287 G288 G292 G293 G304 G395 X-Note: Encrypt Rule Hits: X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.35.1] (HELO smtp.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.4.4) with ESMTPS id 30573415 for user@cassandra.apache.org; Wed, 05 Sep 2012 06:31:09 -0500 Received: from MBX30.exg5.exghost.com ([169.254.1.69]) by HT04.exg5.exghost.com ([98.129.23.33]) with mapi; Wed, 5 Sep 2012 06:31:08 -0500 From: Ananth Gundabattula To: "user@cassandra.apache.org" Date: Wed, 5 Sep 2012 06:31:05 -0500 Subject: Re: configure KeyCahce to use Non-Heap memory ? Thread-Topic: configure KeyCahce to use Non-Heap memory ? Thread-Index: Ac2LWfEMdZN00hvYR4aOGVKIbIAdtw== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.3.120616 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_CC6D72DF2F44agundabattulathreatmetrixcom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_CC6D72DF2F44agundabattulathreatmetrixcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Aaron, Thanks a lot for the response. Raised a request https://issues.apache.org/j= ira/browse/CASSANDRA-4619 Here is the nodetool dump: (from one of the two nodes in the cluster) Token : 0 Gossip active : true Thrift active : true Load : 147.64 GB Generation No : 1346635362 Uptime (seconds) : 182707 Heap Memory (MB) : 4884.33 / 8032.00 Data Center : datacenter1 Rack : rack1 Exceptions : 0 Key Cache : size 777651120 (bytes), capacity 777651120 (bytes), 4435= 4999 hits, 98275175 requests, 0.451 recent hit rate, 14400 save period in s= econds Row Cache : size 0 (bytes), capacity 0 (bytes), 0 hits, 0 requests, = NaN recent hit rate, 0 save period in seconds Number of rows in the 2 node cluster is 74+ Million Regards, Ananth From: aaron morton = > Reply-To: "user@cassandra.apache.org" > Date: Wednesday, September 5, 2012 11:33 AM To: "user@cassandra.apache.org" > Subject: Re: configure KeyCahce to use Non-Heap memory ? Is there any way I can configure KeyCahce to use Non-Heap memory ? 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 ? (fro= m 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. Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 4/09/2012, at 3:01 PM, Ananth Gundabattula > 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 o= nly 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 o= nly optimize on the key cache 2. Time constrained to change our schema to be more NO-SQL specific Regards, Ananth --_000_CC6D72DF2F44agundabattulathreatmetrixcom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hello Aaron,

Thanks a lot for the response. Raised a request&nbs= p;https://= issues.apache.org/jira/browse/CASSANDRA-4619

H= ere is the nodetool dump: (from one of the two nodes in the cluster) <= /div>

Token           &nbs= p;: 0
Gossip active    : true
Thrift active &= nbsp;  : true
Load            = : 147.64 GB
Generation No    : 1346635362
Up= time (seconds) : 182707
Heap Memory (MB) : 4884.33 / 8032.00
Data Center      : datacenter1
Rack   &= nbsp;         : rack1
Exceptions    = ;   : 0
Key Cache        : size 77765112= 0 (bytes), capacity 777651120 (bytes), 44354999 hits, 98275175 requests, 0.= 451 recent hit rate, 14400 save period in seconds
Row Cache  = ;      : size 0 (bytes), capacity 0 (bytes), 0 hits, 0 reque= sts, NaN recent hit rate, 0 save period in seconds


Number of rows in the 2 node cluster is 74+ Million



Regards,
An= anth 


=


=

From: aa= ron morton <aaron@thelastpick= le.com>
Reply-To: "user@cassandra.apache.org" <= user@cassandra.apache.org&= gt;
Date: Wednesday, September = 5, 2012 11:33 AM
To: "user@cassandra.apache.org" <user@cassandra.apache.org>= ;
Subject: Re: configure KeyCah= ce to use Non-Heap memory ?

Is there any way I can configure KeyCahce to use Non-Heap memory ? 
No.
You could add a feature request here https://issues.apache.org/jira/browse/CASSANDRA<= /a>




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

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 : 
  • Row cache models don't reflect our data query patterns and hence can o= nly optimize on the key cache 
  • Time constrained to change our = schema to be more NO-SQL specific


  • Regards,
    Ananth 

    =
    --_000_CC6D72DF2F44agundabattulathreatmetrixcom_--