*+1* to changing to G1 on trunk for 5.0 and 4.1.1. We have over a thousand clusters and over 10K nodes running on J8 and 11 with G1GC and memory management is excellent. Excellent. Two observations: first we reverted MaxGCPauseMillis=200, which is the JVM default. Cassandra's jvm{8,11}-server.options has 500 (commented out) for some reason. Second on some clusters with 'humongous allocations' we've had to increase G1HeapRegionSize in a few cases on clusters with very large partitions.
CMS was deprecated in Java 9, so I don't know why Cassandra would still use it as the default. JEP 291: Deprecate the Concurrent Mark Sweep (CMS) Garbage Collector https://openjdk.org/jeps/291 The change to off-heap memory sounds good, but maybe change on trunk (5.0) not 4.1. On Thu, Jan 12, 2023 at 8:16 AM Mick Semb Wever <m...@apache.org> wrote: > > Ok, wrt G1 default, this is won't go ahead for 4.1-rc1 > > > > We can revisit it for 4.1.x > > > > We have a lot of voices here adamantly positive for it, and those of us > that have done the performance testing over the years know why. But being > called to prove it is totally valid, if you have data to any such tests > please add them to the ticket 18027 > > > Revisiting. Are there any vetoes to making G1 the default (and > updating the G1 settings, see the patch on > https://issues.apache.org/jira/browse/CASSANDRA-18027 ) for 4.1.1 ? > > IIUC , the summary of this thread till now was: there were no vetoes > to the change in trunk, but there were vetoes to 4.1.0 (because we > were inside the beta to GA window), and there was a desire to have > benchmarking data presented. > > WRT benchmarking, we have a separate thread for performance testing in > the project. The ticket admittedly does not do its due diligence on > data presentation and analysis of smaller heaps: a precedent we should > be creating; but instead relies upon experience from many. Are we ok > with this this time around, or shall the patch only be applied to > trunk (where we have no choice w/ jdk17 landing)? >