Profile Image
ved

Need to tune existing Cassandra JVM

Xloggc:/data/cassandra/apache-cassandra-3.11.2/logs/gc-%t.log -ea 
-XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 
-XX:+HeapDumpOnOutOfMemoryError 
-Xss256k 
-XX:StringTableSize=1000003 
-XX:+AlwaysPreTouch 
-XX:-UseBiasedLocking 
-XX:+UseTLAB 
-XX:+ResizeTLAB 
-XX:+UseNUMA 
-XX:+PerfDisableSharedMem -Djava.net.preferIPv4Stack=true 
-Xmx31G 
-XX:+UseG1GC 
-XX:MaxGCPauseMillis=500 
-XX:+PrintGCDetails 
-XX:+PrintGCDateStamps 
-XX:+PrintHeapAtGC 
-XX:+PrintTenuringDistribution 
-XX:+PrintGCApplicationStoppedTime 
-XX:+PrintPromotionFailure 
-XX:PrintFLSStatistics=1 
-XX:+UseGCLogFileRotation 
-XX:NumberOfGCLogFiles=10 
-XX:GCLogFileSize=10M 
-XX:CompileCommandFile=/data/cassandra/apache-cassandra-3.11.2/conf/hotspot_compiler -javaagent:/data/cassandra/apache-cassandra-3.11.2/lib/jamm-0.3.0.jar -Djava.rmi.server.hostname=10.1.34.103 -Dcassandra.jmx.local.port=7199 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.password.file=/etc/cassandra/jmxremote.password -Djava.library.path=/data/cassandra/apache-cassandra-3.11.2/lib/sigar-bin -XX:OnOutOfMemoryError=kill -9

 

Report URL - https://gceasy.io/my-gc-report.jsp?p=c2hhcmVkLzIwMjIvMDMvMTAvLS1nYy5sb2cuemlwLS0xMC0yMC0zNg==&channel=WEB

  • tuneexistingcassandrajvm

  • overtuning

Please Sign In or to post your comment or answer

Profile Image

Ram Lakshmanan

Hello Ved!

 

 Greetings.
 
 Your application's GC performance is good already for a 31GB heap. Your GC throughput is 99.826%, average GC pause time is 364ms and only once max GC pause time touched 1.7 seconds. 
 
 There is always a risk of overtuning it further, it has potential degrade the good performance that you are enjoying today.

Got something else on mind? Post Your Question

Not the answer you're looking for? Browse other questions tagged
  • tuneexistingcassandrajvm

  • overtuning