From cassandra-user-return-1695-apmail-incubator-cassandra-user-archive=incubator.apache.org@incubator.apache.org Mon Dec 07 18:25:47 2009 Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 52038 invoked from network); 7 Dec 2009 18:25:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Dec 2009 18:25:47 -0000 Received: (qmail 14866 invoked by uid 500); 7 Dec 2009 18:25:46 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 14851 invoked by uid 500); 7 Dec 2009 18:25:46 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 14824 invoked by uid 99); 7 Dec 2009 18:25:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2009 18:25:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 209.85.219.220 as permitted sender) Received: from [209.85.219.220] (HELO mail-ew0-f220.google.com) (209.85.219.220) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2009 18:25:38 +0000 Received: by ewy20 with SMTP id 20so3581502ewy.0 for ; Mon, 07 Dec 2009 10:25:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=jIalZ87phnfI6g6I9UnjaSVfyhAfAHaSZSNS6SQTVJE=; b=f1fdMR5HEh8l+oNWnPSp4K0/UpjSk5MdLLDEs5j/HdPKXJMuokhmP9xsNp068ITWMO oU+UqXa3TiOeQmIUYdubwtbNWrSCaH9i/pVYtqY8ecqTArRLAYU10R3ODlEWV96vKHd0 GY08t0ERfX/cxFwDs+5JoCY+58S7kaEDs+HGk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=pHRT/cnsoD86zy2sfapfBOtDhLXVRudhHXzA0AP1+ZMetbv1F9UWaSYv3qxvoO1gwY hcdhHjBc09sGA6sOrBL8pb7i1pj1+zDQ0nDnaUFgaIvOolHdN4X7TOLscL5ptzotfP+R Ruslr66CypCAkzW20lGBZyaNRw0T9ePD/jzGM= MIME-Version: 1.0 Received: by 10.216.86.142 with SMTP id w14mr2557303wee.74.1260210317827; Mon, 07 Dec 2009 10:25:17 -0800 (PST) In-Reply-To: <58E59B99-799C-4A82-B446-E92E6C68CF33@wooga.net> References: <58E59B99-799C-4A82-B446-E92E6C68CF33@wooga.net> From: Jonathan Ellis Date: Mon, 7 Dec 2009 12:23:23 -0600 Message-ID: Subject: Re: Very simple benchmark - are this typical numbers? To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org same thing, you are going to need multiple threads to max it out but yes, reads are typically slower than writes in cassandra because of how the log-based merge structures work On Mon, Dec 7, 2009 at 11:09 AM, Timo Nentwig wrot= e: > > On Dec 7, 2009, at 5:59 PM, Jonathan Ellis wrote: > >> yes and no -- that's about 4200/s, which is typical for only a single > > When writing, yes. But I would expect reading to be much faster (?). Re-e= xecuting the read test doesn't speed up things either (I/O caches). > >> thread but 1/3 to 1/5 of what you'd expect it to max out (on our >> quad-core test boxes) when you add client threads >> >> On Mon, Dec 7, 2009 at 10:38 AM, Timo Nentwig w= rote: >>> Hi! >>> >>> I just downloaded, installed, start cassandra and ran very simple "benc= hmark": write n times something with key=3D=3Dvalue=3D=3DtestInsertAndGetAn= dRemove_n (one thread). >>> >>> For n=3D=3D10 million on a 7200rpm HDD (4G RAM - there should have be "= reasonably" free mem however I didn't check) this took 40min (insert()ing o= ne after another). Reading them one by one in sequence delivers about 100/s= , reading in 1.000er batches (i.e. multigetColumn()) takes 5-10s (depending= on n, the higher the slower). >>> >>> Are this typical numbers for cassandra (0.5)? I actually took the confi= guration as it was. > >