Very rarely do JVM GC properties universally apply to all users and
workloads.
I think it would be better to document why these options helped in your
workload. Teach folks how to choose the correct JVM properties for their
workloads is a better way forward, than encouraging folks to treat them
as black-boxes.
While this is extremely in-depth, I like the tone of this blog post:
https://blogs.apache.org/hbase/entry/tuning_g1gc_for_your_hbase. The
authors explain what they observed from a system, what they changed,
what effect that change should have, and, finally, the change that they
observe.
On 3/22/19 9:28 AM, Jeffrey Zeiberg wrote:
Jeffrey Manno (ASRC Federal) and Jeffrey Zeiberg (ASRC Federal) have
discovered that adding a few new JVM options to the JAVA_OPTS set prevented
crashing and increase system performance.
They were added after line 68 in accumulo-env.sh. They are:
'server'
'-XX:+UseParallelOldGC'
'-XX:NewRatio=3'
'-XX:AggressiveHeap'
The machines we are using are 7 year old machines with 8G of main memory,
between 500G - 1T HDD and Intel I5 or I7 processors.
Maybe these parameters should be made in the Accumulo 2.0 distributions
accumulo-env.sh file?
Comments?