Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 90158 invoked from network); 3 Apr 2011 12:02:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Apr 2011 12:02:21 -0000 Received: (qmail 60520 invoked by uid 500); 3 Apr 2011 12:02:18 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 60477 invoked by uid 500); 3 Apr 2011 12:02:17 -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 60469 invoked by uid 99); 3 Apr 2011 12:02:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Apr 2011 12:02:17 +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 (athena.apache.org: domain of schumi.han@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; Sun, 03 Apr 2011 12:02:11 +0000 Received: by pwi5 with SMTP id 5so1358796pwi.31 for ; Sun, 03 Apr 2011 05:01:50 -0700 (PDT) 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:cc:content-type; bh=yuz6iNg6WqUhM1A86v4yjWOsfeT0XdDO6+lAbpaG4cM=; b=O2BApHmu7Q0UbAwWL+9vaQxlcsQFbKo5MBOT3wm8dAmzHf4ig97u5Tbeo349ojUg7f yokF1QbB/U7WwKZp2HFs1M6lCS6HcwKZ0HrXJFw0OYyMqz/nq77EzzdNTkMHkJ8vxaOF l61R9oOwSFcMidsBHTMpysp5wuRvDkntkUMOQ= 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 :cc:content-type; b=K6NsK14XayukQk9F8Y4StRlXL6Kdvac8Rq7t/sDGye8ruzNFxJUHKb7pPqig5meAWj ljzQK2UfEGPOC9wwuZXcRzD8Xkya7dKmhiYLVgdrSMd7mSoXnbp5i5mUi+IdIYgx6HYt L2XO2/r2dhtic4GZPMparrfMklSm24OC6sEz4= MIME-Version: 1.0 Received: by 10.142.149.15 with SMTP id w15mr5497257wfd.325.1301832110854; Sun, 03 Apr 2011 05:01:50 -0700 (PDT) Received: by 10.68.66.132 with HTTP; Sun, 3 Apr 2011 05:01:50 -0700 (PDT) In-Reply-To: References: Date: Sun, 3 Apr 2011 20:01:50 +0800 Message-ID: Subject: Re: compaction behaviour From: Zhu Han To: user@cassandra.apache.org Cc: Anurag Gujral Content-Type: multipart/alternative; boundary=000e0cd312da86526b04a00268fe --000e0cd312da86526b04a00268fe Content-Type: text/plain; charset=ISO-8859-1 best regards, Zhu Han On Sun, Apr 3, 2011 at 9:21 AM, Anurag Gujral wrote: > Hi All, > I have loaded data into cassandra using batch processing the > response times for reads are in the range of 0.8 ms but I am using SSDs. so > I expect the read times to be even faster. > Does your working set fit in the memory? If so, SSD is not helpful to reduce the latency. > Every time I run compaction the latency numbers reduce to 0.3 to 0.4ms , > is there a way I can run compaction once with some parameters > so that i can get the same numbers 0.3 to 0.4 ms for reads. > Please note that I am not loading the data again. > > Thanks > Anurag > --000e0cd312da86526b04a00268fe Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
best regards,
Zhu Han



On Sun, Apr 3, 2011 at 9:21 AM, Anurag G= ujral <anur= ag.gujral@gmail.com> wrote:
Hi All,
=A0=A0 =A0 =A0 =A0 =A0 I have loaded data into cassandra using = batch processing =A0the response times for reads are in the range of =A00.8= ms but I am using SSDs.=A0so I expect the read times to be even faster.

Does your working set fit in the memory? If so, SSD is not helpful= to reduce the latency.
=A0
Every time I run compaction the latency numbers reduce to 0.3 to 0.4ms= =A0, is there a way I can run compaction once with some parameters=A0
so that i can get the same numbers 0.3 to 0.4 ms for reads.
= Please note that I am not loading the data again.

= Thanks
Anurag

--000e0cd312da86526b04a00268fe--