Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 34121 invoked from network); 13 Jan 2011 19:01:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jan 2011 19:01:40 -0000 Received: (qmail 94168 invoked by uid 500); 13 Jan 2011 19:01:38 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 94127 invoked by uid 500); 13 Jan 2011 19:01: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 94119 invoked by uid 99); 13 Jan 2011 19:01:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 19:01:37 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 209.85.160.44 as permitted sender) Received: from [209.85.160.44] (HELO mail-pw0-f44.google.com) (209.85.160.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 19:01:31 +0000 Received: by pwi7 with SMTP id 7so404333pwi.31 for ; Thu, 13 Jan 2011 11:01:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=sWnbCOMzCs84XvLyu9PVjYntophjvuHZJIG9gxw87Zo=; b=qYwChW0nq7jV2LoweiF2KZaOCVvwjIVhM56fzQJgMDZyO7pFq0GkvrbciaCSRCryJM Wu+BSBm3n5+spsRxGq6CdVoCinxoFkKT6F23xbMPpvd+s+he6C1SCVvm7+h0Q9OKGZl9 eDe/N75ksvC1PEZFOkpyP32ICX+MNHZ/987uo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=TmNCrEOShiwZBkhK8IsW9w1ygZxvw+TJ1s5V3UNRJKlPdMUHJliMYmWKrNSojpKhu8 wpwev5xEvyf8sd0pBsHZXw63IpAm/dOJRU7X2SCz7J4PBjelmzy7E6HLEn6kgcG2zGkw W7kwEMSh1bZ2i9Do10nn/OwProFWrDzGax7JM= MIME-Version: 1.0 Received: by 10.142.172.3 with SMTP id u3mr1121840wfe.189.1294945268964; Thu, 13 Jan 2011 11:01:08 -0800 (PST) Received: by 10.142.11.1 with HTTP; Thu, 13 Jan 2011 11:01:08 -0800 (PST) In-Reply-To: References: Date: Thu, 13 Jan 2011 11:01:08 -0800 Message-ID: Subject: Re: cassandra row cache From: Jonathan Ellis To: user Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org does the cache size change between 2nd and 3rd time? On Thu, Jan 13, 2011 at 10:47 AM, Saket Joshi wrote: > Hi, > > I am running a 15 node cluster ,version 0.6.8, Linux 64bit OS, using mmap > I/O, 6GB ram allocated. I have row cache enabled to 80000 keys (mean row > size is 2KB). I am observing a strange behaviour.. I query for 1.6 Million > rows across the cluster and time taken is around 40 mins , I query the same > data again , the time now is 25 mins to fetch data (i am expecting the cache > to be warm now) , but i see row cache hit rate around 30% . Now i request > the same data 3rd time, time to fetch is under 4 mins and cache hit ratios > are 99% ... Does any one have an idea why this may be happening ? > > > > > > Thanks, > > Saket -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com