> *+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. >
Thanks for the support Brad, you're definitely not alone. Alas the project works in a consensus model, i.e. off the objections made - which have been all sound. A good compromise has been offered that I will move forward on, and I'll also update the commented out G1 settings in 4.1.1 to match those becoming the default in trunk. > 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. > Absolutely! Take a look at the patch, it aligns the G1 settings closer to what you say. https://github.com/apache/cassandra/compare/trunk...thelastpickle:cassandra:mck/7486/trunk My apologies I did not create this ticket earlier.