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 B451E7831 for ; Thu, 20 Oct 2011 13:38:56 +0000 (UTC) Received: (qmail 35534 invoked by uid 500); 20 Oct 2011 13:38:54 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 35490 invoked by uid 500); 20 Oct 2011 13:38:54 -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 35481 invoked by uid 99); 20 Oct 2011 13:38:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2011 13:38:54 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of potekhin@bnl.gov designates 130.199.3.132 as permitted sender) Received: from [130.199.3.132] (HELO smtpgw.bnl.gov) (130.199.3.132) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2011 13:38:47 +0000 X-BNL-policy-q: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmgHABUkoE6CxzYH/2dsb2JhbABDmhuOe4EFgW4BAQU4HSMBEAsYCRYPCQMCAQIBRRMBBwEBvWiIKQSZKowv X-IronPort-AV: E=Sophos;i="4.69,379,1315195200"; d="scan'208";a="147176181" Received: from rcf.rhic.bnl.gov ([130.199.54.7]) by smtpgw.sec.bnl.local with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Oct 2011 09:38:09 -0400 Received: from [128.141.224.175] (pb-d-128-141-224-175.cern.ch [128.141.224.175]) (authenticated bits=0) by rcf.rhic.bnl.gov (8.13.8/8.13.8) with ESMTP id p9KDc42V006882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Oct 2011 09:38:07 -0400 Message-ID: <4EA0243A.4000305@bnl.gov> Date: Thu, 20 Oct 2011 15:38:02 +0200 From: Maxim Potekhin User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: user@cassandra.apache.org CC: aaron morton Subject: Re: CMS GC initial-mark taking 6 seconds , bad? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello Aaron, I happen to have 48GB on each machines I use in the cluster. Can I assume that I can't really use all of this memory productively? Do you have any suggestion related to that? Can I run more than one instance on Cassandra on the same box (using different ports) to take advantage of this memory, assuming the disk has enough bandwidth? Thanks, Maxim On 9/25/2011 11:37 AM, aaron morton wrote: > It does seem long and will be felt by your application. > > Are you running a 47GB heap ? Most peeps seem to think 8 to 12 is about the viable maximum. > > Cheers > > ----------------- > Aaron Morton > Freelance Cassandra Developer > @aaronmorton > http://www.thelastpickle.com > > On 25/09/2011, at 7:14 PM, Yang wrote: > >> I see the following in my GC log >> >> 1910.513: [GC [1 CMS-initial-mark: 2598619K(26214400K)] >> 13749939K(49807360K), 6.0696680 secs] [Times: user=6.10 sys=0.00, >> real=6.07 secs] >> >> so there is a stop-the-world period of 6 seconds. does this sound bad >> ? or 6 seconds is OK and we should expect the built-in >> fault-tolerance of Cassandra handle this? >> >> Thanks >> Yang