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 BEEE3951E for ; Mon, 13 Feb 2012 09:12:52 +0000 (UTC) Received: (qmail 25025 invoked by uid 500); 13 Feb 2012 09:12:50 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 24569 invoked by uid 500); 13 Feb 2012 09:12:47 -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 24561 invoked by uid 99); 13 Feb 2012 09:12:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 09:12:46 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.149.211] (HELO na3sys009aog114.obsmtp.com) (74.125.149.211) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Feb 2012 09:12:40 +0000 Received: from mail-lpp01m010-f45.google.com ([209.85.215.45]) (using TLSv1) by na3sys009aob114.postini.com ([74.125.148.12]) with SMTP ID DSNKTzjT8UXg7Avh/KmKyZyiDYlnCTbyTH6G@postini.com; Mon, 13 Feb 2012 01:12:20 PST Received: by mail-lpp01m010-f45.google.com with SMTP id i5so5219706lah.18 for ; Mon, 13 Feb 2012 01:12:17 -0800 (PST) Received: by 10.152.148.106 with SMTP id tr10mr10770181lab.41.1329124337229; Mon, 13 Feb 2012 01:12:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.26.199 with HTTP; Mon, 13 Feb 2012 01:11:57 -0800 (PST) In-Reply-To: References: <201202131403484201571@jike.com> From: Franc Carter Date: Mon, 13 Feb 2012 20:11:57 +1100 Message-ID: Subject: Re: keycache persisted to disk ? To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=e89a8f22c62ffb9fc004b8d4dfb7 X-Gm-Message-State: ALoCoQk5SEc4KqrE4LBg3MdvbjMV4A5qC33E6P63uGGLfgPYeKcOd8n7l1nmzDpoq1Ob5e4PD6+e --e89a8f22c62ffb9fc004b8d4dfb7 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Feb 13, 2012 at 8:00 PM, Peter Schuller wrote: > What is your total data size (nodetool info/nodetool ring) per node, > your heap size, and the amount of memory on the system? > 2 Node cluster, 7.9GB of ram (ec2 m1.large) RF=2 11GB per node Quorum reads 122 million keys heap size is 1867M (default from the AMI I am running) I'm reading about 900k keys As I was just going through cfstats - I noticed something I don't understand Key cache capacity: 906897 Key cache size: 906897 I set the key cache to 2million, it's somehow got to a rather odd number > > -- > / Peter Schuller (@scode, http://worldmodscode.wordpress.com) > -- *Franc Carter* | Systems architect | Sirca Ltd franc.carter@sirca.org.au | www.sirca.org.au Tel: +61 2 9236 9118 Level 9, 80 Clarence St, Sydney NSW 2000 PO Box H58, Australia Square, Sydney NSW 1215 --e89a8f22c62ffb9fc004b8d4dfb7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, Feb 13, 2012 at 8:00 PM, Peter Schuller <peter.schuller@infidyne.com&g= t; wrote:
What is your total data size (nodetool info/nodetool ring) per node,
your heap size, and the amount of memory on the system?

2 Node cluster, 7.9GB of ram (ec2 m1.large)
RF= =3D2
11GB per node
Quorum reads
122 million k= eys
heap size is 1867M (default from the AMI I am running)
I'= ;m reading about 900k keys

As I was just going thr= ough cfstats - I noticed something I don't understand

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Key cache capacity: 906897<= /div>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Key cache size: 906897

I set the key cache to 2million, it's somehow got = to a rather odd number




--
/ Peter Schuller (@scode, http://worldmodscode.wordpress.com)



--

Franc Carter<= /b> |<= /span> Systems architect | Sirca Ltd

franc.carter@sirca.org.au=A0|=A0www.sirca.org.au

Tel:= =A0+61 2 9236 9118

Level 9, 80 Clarence St, Sydney=A0NSW 2000

PO Box H58, Australia Square, Sydney NSW 1215<= /span>


--e89a8f22c62ffb9fc004b8d4dfb7--