Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7745E18BE7 for ; Tue, 17 Nov 2015 18:06:11 +0000 (UTC) Received: (qmail 93407 invoked by uid 500); 17 Nov 2015 18:06:11 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 93349 invoked by uid 500); 17 Nov 2015 18:06:11 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 93306 invoked by uid 99); 17 Nov 2015 18:06:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2015 18:06:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F3E892C1F65 for ; Tue, 17 Nov 2015 18:06:10 +0000 (UTC) Date: Tue, 17 Nov 2015 18:06:10 +0000 (UTC) From: "Paulo Motta (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-10702) Statement concerning default ParallelGCThreads in jvm.options is not correct MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-10702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paulo Motta updated CASSANDRA-10702: ------------------------------------ Attachment: 10702-v2.patch Just noticed some trailing whitespaces in the original patch. Attached v2 removing trailing whitespaces and moving ConcGCThreads comment to before the ConcGCThreads options. > Statement concerning default ParallelGCThreads in jvm.options is not correct > ---------------------------------------------------------------------------- > > Key: CASSANDRA-10702 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10702 > Project: Cassandra > Issue Type: Bug > Components: Configuration > Reporter: Nate McCall > Assignee: Nate McCall > Priority: Trivial > Attachments: 10702-v2.patch, 10702.patch > > > from {{jvm.options}}: > bq. The JVM maximum is 8 PGC threads and 1/4 of that for ConcGC. > This is not correct. If there are more than eight CPUs, the default becomes 5/8 of the number of CPUs rounded up to the nearest even number (it seems - see below). See {{-XX:ParallelGCThreads=n}} secion of http://www.oracle.com/technetwork/articles/java/g1gc-1984535.html > Pretty easy to test with > 16 cores (as 5/8 of such is 10): turn on GC logging, leave the defaults, and the G1GC output will show something like: > {noformat} > [Parallel Time: 342.6 ms, GC Workers: 16] > {noformat} > on a 24 core system in this case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)