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 2948FDF68 for ; Tue, 23 Oct 2012 14:43:52 +0000 (UTC) Received: (qmail 25346 invoked by uid 500); 23 Oct 2012 14:43:49 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 25314 invoked by uid 500); 23 Oct 2012 14:43:49 -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 25291 invoked by uid 99); 23 Oct 2012 14:43:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 14:43:48 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of btalbot@aeriagames.com designates 74.125.149.83 as permitted sender) Received: from [74.125.149.83] (HELO na3sys009aog134.obsmtp.com) (74.125.149.83) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 23 Oct 2012 14:43:41 +0000 Received: from mail-qa0-f70.google.com ([209.85.216.70]) (using TLSv1) by na3sys009aob134.postini.com ([74.125.148.12]) with SMTP ID DSNKUIatCOJKpesKE2+RIB6gdGWCtIKpYKhE@postini.com; Tue, 23 Oct 2012 07:43:21 PDT Received: by mail-qa0-f70.google.com with SMTP id t11so1300824qaa.1 for ; Tue, 23 Oct 2012 07:43:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aeriagames.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Tt/BLjnHljm3ChWetKgBphT5tLaeVOXZ8sDRAmS7EPc=; b=D9XbjtqWsFMLFopicIwYln5z7UJVSIqNtnFWJPDNDt8sWRs2uKYPV3jscsB45j9Jti ztIOHYmDl5CZXiZToCMpF3r9U1k3NE919zvqbg62ile5aTmnzodvvjscPtzig+iM7iEO INQD2XHYAFm0piI0NxVCupimFmJDbYubBa7T4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=Tt/BLjnHljm3ChWetKgBphT5tLaeVOXZ8sDRAmS7EPc=; b=kHr4MdW1ZDuzHWocc2vh9+RZQSK/vucYWFfI/LuAFH1ISMPn3Mg6Bs2UsYraccH3jM vNu0I7fZOu6SZ+HFfS2Ewkt51577pS+wQnqWFHs9rXhy24NkCGgwhzVo7Ygn2mI/AQSp U6w6jAG0B0sZDdy1HABWnzjt3clGaFzcobscmrxBE7+DaMlEewX7g4eRIrQnRchDaf66 4w1/kfFuv8jbMiszxMiLzP1QTRhSwURy12J92zbqecYuSjJIeRgWDlufoSsYY41nxR5s 16enw/lSBrUWNvE141IrJlxGO0RQ7QKBWlHVej+1d4lbJdTg9DzE1M7WKZIoy2DowuFT 6bEA== Received: by 10.220.239.9 with SMTP id ku9mr2483682vcb.52.1351003399433; Tue, 23 Oct 2012 07:43:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.239.9 with SMTP id ku9mr2483640vcb.52.1351003398997; Tue, 23 Oct 2012 07:43:18 -0700 (PDT) Received: by 10.58.246.73 with HTTP; Tue, 23 Oct 2012 07:43:18 -0700 (PDT) In-Reply-To: <5085EFC0.4040000@voodoolunchbox.com> References: <6E626EB2-FBFD-4E92-AE9C-90119F99ADD3@thelastpickle.com> <5085EFC0.4040000@voodoolunchbox.com> Date: Tue, 23 Oct 2012 07:43:18 -0700 Message-ID: Subject: Re: constant CMS GC using CPU time From: Bryan Talbot To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=14dae9cfcca4b004c304ccbafda2 X-Gm-Message-State: ALoCoQkWchGr6bxZ8xHJJY2V+BE24rZzbdyAaPavetkYODCzpn9NHS0e6+VD1x93MGd9kUiRjK0QcpJ/FjiAuapYtSJi7+5dhPYhCvCcnRnEv//WG8ChzXQVWSEA4Ttq3vEAqljxvICmIyIi/TtT4dMR4scRrHHHFTWS6o0nNAHrKGt6SS5ZPiU= X-Virus-Checked: Checked by ClamAV on apache.org --14dae9cfcca4b004c304ccbafda2 Content-Type: text/plain; charset=UTF-8 These GC settings are the default (recommended?) settings from cassandra-env. I added the UseCompressedOops. -Bryan On Mon, Oct 22, 2012 at 6:15 PM, Will @ SOHO wrote: > On 10/22/2012 09:05 PM, aaron morton wrote: > > # GC tuning options > JVM_OPTS="$JVM_OPTS -XX:+UseParNewGC" > JVM_OPTS="$JVM_OPTS -XX:+UseConcMarkSweepGC" > JVM_OPTS="$JVM_OPTS -XX:+CMSParallelRemarkEnabled" > JVM_OPTS="$JVM_OPTS -XX:SurvivorRatio=8" > JVM_OPTS="$JVM_OPTS -XX:MaxTenuringThreshold=1" > JVM_OPTS="$JVM_OPTS -XX:CMSInitiatingOccupancyFraction=75" > JVM_OPTS="$JVM_OPTS -XX:+UseCMSInitiatingOccupancyOnly" > JVM_OPTS="$JVM_OPTS -XX:+UseCompressedOops" > > You are too far behind the reference JVM's. Parallel GC is the preferred > and highest performing form in the current Security Baseline version of the > JVM's. > -- Bryan Talbot Architect / Platform team lead, Aeria Games and Entertainment Silicon Valley | Berlin | Tokyo | Sao Paulo --14dae9cfcca4b004c304ccbafda2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable These GC settings are the default (recommended?) settings from cassandra-en= v. =C2=A0I added the UseCompressedOops.

-Bryan


On Mon, Oct 22, 2012 at 6:15 PM, W= ill @ SOHO <will@voodoolunchbox.com> wrote:
=20 =20 =20
On 10/22/2012 09:05 PM, aaron morton wrote:
# GC tuning options
JVM_OPTS=3D"$JVM_OP= TS -XX:+UseParNewGC"=C2=A0
JVM_OPTS=3D"$JVM_OP= TS -XX:+UseConcMarkSweepGC"=C2=A0
JVM_OPTS=3D"$JVM_OP= TS -XX:+CMSParallelRemarkEnabled"=C2=A0
JVM_OPTS=3D"$JVM_OP= TS -XX:SurvivorRatio=3D8"=C2=A0
JVM_OPTS=3D"$JVM_OP= TS -XX:MaxTenuringThreshold=3D1"
JVM_OPTS=3D"$JVM_OPTS -XX:CMSInitiatingOccupancyFraction=3D75"
JVM_OPTS=3D"$JVM_OP= TS -XX:+UseCMSInitiatingOccupancyOnly"
JVM_OPTS=3D"$JVM_OP= TS -XX:+UseCompressedOops"

You are too far behind the reference JVM's. Parallel GC is the preferred and highest performing form in the current Security Baseline version of the JVM's.



--
Bryan Talbot=
Architect / Platform team lead, Aeria Games and Entertainment
Silicon Valley | Berlin | Tokyo | Sao Paulo


--14dae9cfcca4b004c304ccbafda2--