[ 
https://issues.apache.org/jira/browse/CASSANDRA-18027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17631947#comment-17631947
 ] 

Michael Semb Wever commented on CASSANDRA-18027:
------------------------------------------------


I've put our battle-tested g1 opts (from consultants at TLP and DataStax) in 
the patch.

In reality it is really not much of a change, g1 does make it simple. Picking 
the correct ParallelGCThreads and ConcGCThreads and the floor to the new heap 
(XX:NewSize) is still required, though we could do a much better job of dynamic 
defaults to them.

Alex Dejanovski's blog is a great starting point: 
https://thelastpickle.com/blog/2020/06/29/cassandra_4-0_garbage_collectors_performance_benchmarks.html
  

I would go with g1 as the default over ZGC and Shenandoah. Shenandoah is 
impressive, but G1 is far more tested and also just keeps getting better so I'd 
stick with it for now, while we work on providing good default settings for 
commented out ZGC and Shenandoah.

> Use G1GC as default
> -------------------
>
>                 Key: CASSANDRA-18027
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18027
>             Project: Cassandra
>          Issue Type: Task
>          Components: Local/Config
>            Reporter: Michael Semb Wever
>            Assignee: Michael Semb Wever
>            Priority: Normal
>
> G1GC is well battle tested now, and the recommended configuration for most 
> users. CMS can work well on smaller heaps but requires more tuning, initially 
> and over time. G1GC just works. CMS was deprecated in JDK 9.
> Patch at 
> https://github.com/apache/cassandra/compare/trunk...thelastpickle:cassandra:mck/7486/trunk



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to