Now I are trying to change GC from CMS to G1GC.
And let's say, current situation of NameNode with CMS are
Physical memory size : 140 GB
-Xmx100G -Xms100G
current actual heap usage : 70 - 80 GB (So, usage is around 80%.)
-XX:InitiatingHeapOccupancyPercent : 90
The default value of "-XX:InitiatingHeapOccupancyPercent" is 45.
If I set 45% for "-XX:InitiatingHeapOccupancyPercent" for this NameNode, I think, current heap usage always hits the threshold...
Could you advice how I should tune "-XX:InitiatingHeapOccupancyPercent" for this NameNode?