Tuning ParallelGCThreads / ConcGCThreads in CMS on OpenJDK
Issue
- How are
ConcGCThreads
andParallelGCThreads
calculated? - How to tune
ConcGCThreads
andParallelGCThreads
in CMS? - Monitors and benchmarks indicates an overwork of cpu activity and long Garbage Collection pauses while running multiple JBoss EAP instances. What values should I set for ParallelGCThreads / CMSParallelThreads to solve it?
Environment
- Red Hat Enterprise Linux (RHEL)
- 7.x
- OpenJDK/OracleJDK 8
- 8/7 (CMS is deprecated in JDK 11)
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.