cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Anastasyev (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-8150) Revaluate Default JVM tuning parameters
Date Thu, 27 Nov 2014 07:55:14 GMT


Oleg Anastasyev commented on CASSANDRA-8150:

Let me add 2 -cents- GC options from our production clusters, which i believe could be useful
for all:
to reduce rescan phase even of CMSWait exceeded

to improve CMS parallelization 


I'd also propose add -XX:+DisableExplicitGC , b/c java RMI runtime invokes a System.gc every
hour or increasing sun.rmi.dgc.server.gcInterval to infinity. 
We found, that on Sun JVMs 7 and 8 CMSWait durations are not governed by CMS when GC is initiated
by System.gc and this was the reason for most long rescan phase pauses.

> Revaluate Default JVM tuning parameters
> ---------------------------------------
>                 Key: CASSANDRA-8150
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Config
>            Reporter: Matt Stump
>            Assignee: Brandon Williams
>         Attachments: upload.png
> It's been found that the old twitter recommendations of 100m per core up to 800m is harmful
and should no longer be used.
> Instead the formula used should be 1/3 or 1/4 max heap with a max of 2G. 1/3 or 1/4 is
debatable and I'm open to suggestions. If I were to hazard a guess 1/3 is probably better
for releases greater than 2.1.

This message was sent by Atlassian JIRA

View raw message