CDH5.16.1的Hbase1.2的G1参数配置
1 贴一下自己的G1垃圾收集器参数(region server配置了5G内存)
-Xmx5g -Xms5g -XX:MaxDirectMemorySize=5g -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:-ResizePLAB -XX:MaxGCPauseMillis=90 -XX:G1NewSizePercent=3 -XX:MaxGCPauseMillis=200 -XX:InitiatingHeapOccupancyPercent=70 -XX:+ParallelRefProcEnabled -XX:ConcGCThreads=4 -XX:ParallelGCThreads=8 -XX:MaxTenuringThreshold=1 -XX:G1HeapRegionSize=2m -XX:G1MixedGCCountTarget=64 -XX:G1OldCSetRegionThresholdPercent=5 -XX:+PrintFlagsFinal -XX:+PrintReferenceGC -XX:+UnlockDiagnosticVMOptions -XX:+G1SummarizeConcMark -XX:+PrintGCDetails -XX:+PrintAdaptiveSizePolicy -XX:G1HeapWastePercent=20