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 DF8EA9893 for ; Fri, 7 Oct 2011 13:07:03 +0000 (UTC) Received: (qmail 84021 invoked by uid 500); 7 Oct 2011 13:07:01 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 83994 invoked by uid 500); 7 Oct 2011 13:07:01 -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 83985 invoked by uid 99); 7 Oct 2011 13:07:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 13:07:01 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,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 jbellis@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 13:06:55 +0000 Received: by wyg24 with SMTP id 24so871464wyg.31 for ; Fri, 07 Oct 2011 06:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=lGi+MFg5aMGK5TC1WrM0sVvaInKNQY0OmjBpw9kuX3o=; b=oH8RdtxQQZsLBGgp7xAO1ffFOC3I2jIieaU139fL5JGAj15wYz6EUHuI7VFXJ/n7Ja BTBB5JuKG2qhO27LWMWsy4sfvYRoMgaMs5PCncXj6xybWZ6mdYpX2fgE9R6yg1V4I4zn oZx0G5EzieRlf8lMMSerzhljH2FHNR58uLVso= Received: by 10.227.143.72 with SMTP id t8mr2384668wbu.95.1317992795223; Fri, 07 Oct 2011 06:06:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.103.137 with HTTP; Fri, 7 Oct 2011 06:06:15 -0700 (PDT) In-Reply-To: <4E8EBCBA.1020807@unitedgames.com> References: <4E8DC49B.9040103@unitedgames.com> <4E8DCEE9.2080105@unitedgames.com> <4E8EBCBA.1020807@unitedgames.com> From: Jonathan Ellis Date: Fri, 7 Oct 2011 08:06:15 -0500 Message-ID: Subject: Re: Batch writes getting slow To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Look at the OOM section in http://www.datastax.com/docs/0.6/troubleshooting/index On Fri, Oct 7, 2011 at 3:47 AM, Stefan Reek wrote: > Is it actually filling up enough to trigger an old-gen CMS gc? > > > Yes, it fills up to the 16G and then it starts doing the CMS gc's which > dramatically decreases the performance. > I'm still not sure why it does this, as a nodetool info states the load a= s > less than 4G. > Any ideas? > > > On 10/06/2011 06:15 PM, Jonathan Ellis wrote: >> >> On Thu, Oct 6, 2011 at 10:53 AM, Stefan Reek >> =A0wrote: >> >>> >>> We do have the commitlogs on separate devices, are there any other basi= cs >>> that I could have forgotten, or >>> any parameters that are important for write performance? >>> >> >> 1.0 write performance is something like 30% better... =A0I don't think >> there's anything else you'll find for "free." >> >> >>> >>> As I understand it >>> the flush thresholds mainly >>> influence read performance instead of write performance. >>> >> >> It can affect write performance if you're flushing really small >> sstables, but I doubt that's the problem here. >> >> >>> >>> Would it make any difference to write the data with more threads from t= he >>> client, as that's something we can easily tune. >>> >> >> Not in this case because Cassandra turns the batch into single-row >> writes internally, so it gets parallelized that way. >> >> If you can avoid waiting for One Big Batch and stream changes in as >> they happen, that would help. >> >> >>> >>> I can see the sawtooth in the JVM only for Par Eden and Par Survivor >>> space, >>> the CMS Old Gen space just keeps on growing though. >>> >> >> Is it actually filling up enough to trigger an old-gen CMS gc? >> >> > > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com