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 728EE11D10 for ; Tue, 26 Aug 2014 17:21:21 +0000 (UTC) Received: (qmail 31541 invoked by uid 500); 26 Aug 2014 17:21:19 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 31491 invoked by uid 500); 26 Aug 2014 17:21:19 -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 31473 invoked by uid 99); 26 Aug 2014 17:21:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 17:21:19 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [193.56.114.164] (HELO smtppost.atos.net) (193.56.114.164) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 17:20:51 +0000 Received: from mail.awl.fr.atosorigin.com (serv-smtp-wse02.fr.atosworldline.com) by smarthost1.atos.net with smtp (TLS: TLSv1/SSLv3,128bits,RC4-MD5) id 09d0_be86_2831b33f_063d_4b4b_81c8_13c6e68ec8bd; Tue, 26 Aug 2014 19:20:50 +0200 Received: from frspx301.fr01.awl.atosorigin.net (10.24.253.189) by frspx402.priv.atos.fr (10.24.220.8) with Microsoft SMTP Server (TLS) id 8.3.348.2; Tue, 26 Aug 2014 19:20:49 +0200 Received: from FRSPX100.fr01.awl.atosorigin.net ([10.24.253.183]) by frspx301.fr01.awl.atosorigin.net ([10.24.253.189]) with mapi; Tue, 26 Aug 2014 19:20:50 +0200 From: Leleu Eric To: "user@cassandra.apache.org" Date: Tue, 26 Aug 2014 19:20:48 +0200 Subject: Question about MemoryMeter liveRatio Thread-Topic: Question about MemoryMeter liveRatio Thread-Index: Ac/BT4qE91btCZBZQGGVEvcu5YZdqQ== Message-ID: <186D431703062245B153D0E5CEBAF3E7A21FA3442E@FRSPX100.fr01.awl.atosorigin.net> Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: fr-FR, en-US Content-Type: multipart/alternative; boundary="_000_186D431703062245B153D0E5CEBAF3E7A21FA3442EFRSPX100fr01a_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_186D431703062245B153D0E5CEBAF3E7A21FA3442EFRSPX100fr01a_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I'm trying to understand what is the liveRatio and if I have to care about = it. I found some reference on the web and if I understand them, the liveRatio r= epresents the Memtable size divided by the amount of data serialized on th= e disk. Is it the truth? When I see the following log, what can I deduce about it ? INFO [MemoryMeter:1] 2014-08-26 19:02:41,047 Memtable.java (line 481) C= FS(Keyspace=3D'ufapi', ColumnFamily=3D'users') liveRatio is 8.5230855479323= 5 (just-counted was 8.514143642185562). calculation took 3613ms for 272646= cells INFO [MemoryMeter:1] 2014-08-26 18:36:09,965 Memtable.java (line 481) CF= S(Keyspace=3D'system', ColumnFamily=3D'compactions_in_progress') liveRatio = is 40.1893491 1242604 (just-counted was 16.37869822485207). calculation took 0ms for 7 c= ells According to my read, the liveRatio is set between 1 and 64. If My liveRati= o is around 64, should I care about some things? Does Cassandra use the liveRatio for some internal task or it is just a met= ric? Regards, Eric ________________________________ Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage e= xclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret = professionnel. Si vous recevez ce message par erreur, merci d'en avertir im= m?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouva= nt ?tre assur?e sur Internet, la responsabilit? de Worldline ne pourra ?tre= recherch?e quant au contenu de ce message. Bien que les meilleurs efforts = soient faits pour maintenir cette transmission exempte de tout virus, l'exp= ?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurai= t ?tre recherch?e pour tout dommage r?sultant d'un virus transmis. This e-mail and the documents attached are confidential and intended solely= for the addressee; it may also be privileged. If you receive this e-mail i= n error, please notify the sender immediately and destroy it. As its integr= ity cannot be secured on the Internet, the Worldline liability cannot be tr= iggered for the message content. Although the sender endeavours to maintain= a computer virus-free network, the sender does not warrant that this trans= mission is virus-free and will not be liable for any damages resulting from= any virus transmitted. --_000_186D431703062245B153D0E5CEBAF3E7A21FA3442EFRSPX100fr01a_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

 

I’m trying to understand = what is the liveRatio and if I have to care about it.

I found some reference on the w= eb and if I understand them, the liveRatio represents  the Memtable si= ze divided by the amount of data serialized on the disk. Is it the truth?

 

 

When I see the following log, w= hat can I deduce about it ?

 

    INFO [Memory= Meter:1] 2014-08-26 19:02:41,047 Memtable.java (line 481) CFS(Keyspace=3D'u= fapi', ColumnFamily=3D'users') liveRatio is 8.52308554793235 (just-counted = was 8.514143642185562).  calculation took 3613ms for 272646 cells

   INFO [MemoryMeter:= 1] 2014-08-26 18:36:09,965 Memtable.java (line 481) CFS(Keyspace=3D'system'= , ColumnFamily=3D'compactions_in_progress') liveRatio is 40.1893491

1242604 (just-counted was 16.37= 869822485207).  calculation took 0ms for 7 cells

 

 

According to my read, the liveR= atio is set between 1 and 64. If My liveRatio is around 64, should I care a= bout some things?

Does Cassandra use the liveRati= o for some internal task or it is just a metric?

 

 

Regards,

Eric




Ce message et les pièces jointes sont confidentiels et réserv= és à l'usage exclusif de ses destinataires. Il peut ég= alement être protégé par le secret professionnel. Si vo= us recevez ce message par erreur, merci d'en avertir immédiatement l= 'expéditeur et de le détruire. L'intégrité du message ne pouvant êtr= e assurée sur Internet, la responsabilité de Worldline ne pou= rra être recherchée quant au contenu de ce message. Bien que l= es meilleurs efforts soient faits pour maintenir cette transmission exempte= de tout virus, l'expéditeur ne donne aucune garantie à cet égard et = sa responsabilité ne saurait être recherchée pour tout = dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely= for the addressee; it may also be privileged. If you receive this e-mail i= n error, please notify the sender immediately and destroy it. As its integr= ity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Altho= ugh the sender endeavours to maintain a computer virus-free network, the se= nder does not warrant that this transmission is virus-free and will not be = liable for any damages resulting from any virus transmitted.
--_000_186D431703062245B153D0E5CEBAF3E7A21FA3442EFRSPX100fr01a_--