Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 13262 invoked from network); 7 Sep 2010 10:22:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Sep 2010 10:22:20 -0000 Received: (qmail 47122 invoked by uid 500); 7 Sep 2010 10:22:18 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 46904 invoked by uid 500); 7 Sep 2010 10:22:14 -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 46896 invoked by uid 99); 7 Sep 2010 10:22:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Sep 2010 10:22:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a58.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Sep 2010 10:22:08 +0000 Received: from homiemail-a58.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a58.g.dreamhost.com (Postfix) with ESMTP id EA9007D806A for ; Tue, 7 Sep 2010 03:21:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=thelastpickle.com; b=w8rQIuquFX AFbBukcKR/17ZKcnPdizJ1rMg1y2+ugUnHNjoBxXkWbmhexta7g+dA36qXkgPxPI up/otraWZoHfoCTa2iukI6FwuFNyM2MYSYgPlVvBTNKc2Fd5kTjY/oMlIEKAdYXX W23x7pW4J/5v7XV+ZGGlZ91lc13N+mQYQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=thelastpickle.com; bh=EebTcsGb2f0zLtn8 mFahGoZQRBw=; b=WZHAUKIOTC8IcMgivLmyZsN5cbwQ/QRPQc0Pl2dLfWWGbhJ+ rSVnPrzJl9vDtupi7/bP9Blmwn68miV6h2dbpwQjMM3HjfvN28i6Cf07YIwBqBYb aXm/GSHtT4mhUI/hlS15pPyukSUDA/HjiBvzXLBCyDfXBKUT34bxVOtqlCM= Received: from [10.0.1.155] (121-73-157-230.cable.telstraclear.net [121.73.157.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a58.g.dreamhost.com (Postfix) with ESMTPSA id 50A957D8063 for ; Tue, 7 Sep 2010 03:21:45 -0700 (PDT) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/alternative; boundary=Apple-Mail-1-605024484 Subject: Re: Flush and compaction happens frequently Date: Tue, 7 Sep 2010 22:21:42 +1200 In-Reply-To: To: user@cassandra.apache.org References: Message-Id: X-Mailer: Apple Mail (2.1081) --Apple-Mail-1-605024484 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii That sounds a little odd, may help if you post the yaml settings, the=20 tpstats and the log lines that look something like this... INFO [ROW-MUTATION-STAGE:5] 2010-09-04 15:43:49,402=20 ColumnFamilyStore.java (line 790) Enqueuing flush of=20 Memtable-Super1@1754565178(80208 bytes, 2304 operations) Also wondering why you chose such high memtable thresholds and how=20 that's working. Do you expect to trigger the operation count or the throughput count in normal processing? Have you seen the additional=20 guidance on mem table tuning here=20 http://wiki.apache.org/cassandra/MemtableThresholds Aaron On 7 Sep 2010, at 18:33, Mubarak Seyed wrote: > I have a 8 nodes cluster, MemtableThreshold is 2 GB/CF, = MemtableObjectsCount is 1.2, heap (min/max) is 30 GB and only 4 = ColumnFamilies >=20 > It appears from system.log that flush happens for every < 50 = operations (read or write) and compaction is happening very frequently = and i could see lots of sstable is getting created (with smaller size). = For a just 1000 inserts, i could see around 20 sstables. >=20 > When i change the MemtableThreshold to 1 GB/CF, everything works as = desired. >=20 > Any idea, what could be the problem when i specify MemtableThreshold = to 2 GB/CF even though i specified the large heap? >=20 > --=20 > Thanks, > Mubarak Seyed. --Apple-Mail-1-605024484 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii That = sounds a little odd, may help if you post the yaml settings, = the 
tpstats and the log lines that look something like = this...

INFO [ROW-MUTATION-STAGE:5] 2010-09-04 = 15:43:49,402 
ColumnFamilyStore.java (line 790) Enqueuing flush = of 
Memtable-Super1@1754565178(80208 bytes, 2304 = operations)

Also wondering why you chose such high memtable = thresholds and how 
that's working. Do you expect to trigger the = operation count or the
throughput count in normal processing? Have = you seen the additional 
guidance on mem table tuning = here 
http://wiki.a= pache.org/cassandra/MemtableThresholds

Aaron

= On 7 Sep 2010, at 18:33, Mubarak Seyed wrote:

I have a 8 = nodes cluster, MemtableThreshold is 2 GB/CF, MemtableObjectsCount is = 1.2, heap (min/max) is 30 GB and only 4 = ColumnFamilies

It appears from system.log that flush = happens for every < 50 operations (read or write) and compaction is = happening very frequently and i could see lots of sstable is getting = created (with smaller size). For a just 1000 inserts, i could see around = 20 sstables.

When i change the MemtableThreshold to 1 GB/CF, = everything works as desired.

Any idea, what = could be the problem when i specify MemtableThreshold to 2 GB/CF even = though i specified the large heap?

--
Thanks,
Mubarak Seyed.

= --Apple-Mail-1-605024484--