Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 16812 invoked from network); 14 Mar 2011 20:29:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Mar 2011 20:29:39 -0000 Received: (qmail 905 invoked by uid 500); 14 Mar 2011 20:29:37 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 880 invoked by uid 500); 14 Mar 2011 20:29: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 872 invoked by uid 99); 14 Mar 2011 20:29:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 20:29:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ruslan.usifov@gmail.com designates 74.125.83.172 as permitted sender) Received: from [74.125.83.172] (HELO mail-pv0-f172.google.com) (74.125.83.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 20:29:29 +0000 Received: by pve39 with SMTP id 39so1533216pve.31 for ; Mon, 14 Mar 2011 13:29:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=uu1Y9OpZIi69PHBQPqguUcy9mWoUYD2OWYRZT8CY/L4=; b=RlmomsaKJP+QlZhT8iqpQTEOkQBKUoxc8OLcpy4b+qfTh0rISrxivWbvPFLwx0YCcT 9AvgAa1Y4T0oQgLKMDwStyyBu6dGvd+I49f8gaR2wulNfgMNctVdknHRT3h9xwSuJuqj t+/c/MIgBOQokvYTZ95XPNpYRx5p6BIFzeMUg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=IawlkiBB+HgOLtJJfc9jU4MJmyvZFfpj2zBZexzfPDQTaRVRTwFqdGh+H+rMeLhPm1 J0VlSJS6C02JRPzUhbaAj8bxRcaydEn8j0UvAyMuyZfcdmRn+QnbHAXg7ug23HWy4vNy xigy1K5XwBJHHOLAkBDjUjZg5oKnkYDUNCqec= MIME-Version: 1.0 Received: by 10.142.208.14 with SMTP id f14mr2905902wfg.183.1300134548526; Mon, 14 Mar 2011 13:29:08 -0700 (PDT) Received: by 10.143.7.10 with HTTP; Mon, 14 Mar 2011 13:29:08 -0700 (PDT) Date: Mon, 14 Mar 2011 23:29:08 +0300 Message-ID: Subject: Calculate memory used for keycache From: ruslan usifov To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=000e0cd29c80ecd8bc049e77292a X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd29c80ecd8bc049e77292a Content-Type: text/plain; charset=ISO-8859-1 Hello How is it possible calculate this value? I think that key size, if we use RandomPartitioner will 16 bytes so keycache will took 16*(num of keycache elements) bytes ?? --000e0cd29c80ecd8bc049e77292a Content-Type: text/html; charset=ISO-8859-1 Hello


How is it possible calculate this value? I think that key size, if we use RandomPartitioner will 16 bytes so keycache will took 16*(num of keycache elements) bytes ??
--000e0cd29c80ecd8bc049e77292a--