Hi Atanas,
Atanas writes:
> We run Hbase 2.5.12 with Java17. We use a rather small heap size, because
> we rely on off heap read(bucket cache) and off heap write paths.
> Apart from the defaults our hbase-env.sh contains just the very basics for
> G1GC
> export HBASE_REGIONSERVER_OPTS="-XX:+UseG1GC -XX:MaxGCPauseMillis=50 \
> -Xms4G -Xmx4G \
> $HBASE_REGIONSERVER_OPTS"
>
> and also "export HBASE_OFFHEAPSIZE" in our case.
Thanks for the input - it's nice to know that Java 17 is in use.
For Solr we're using ZGC, as it was recommended on the mailinglist:
# Recommended on Solr users mailing list
(https://lists.apache.org/thread/bcq6rdzv66m7hsnn346kzjl5qt2pxv9s):
GC_TUNE=" \
-XX:+UnlockExperimentalVMOptions \
-XX:+UseZGC \
-XX:+ParallelRefProcEnabled \
-XX:+ExplicitGCInvokesConcurrent \
-XX:+UseStringDeduplication \
-XX:+AlwaysPreTouch \
-XX:+UseNUMA \
"
I'm not well-versed in Java, so I don't know what to think :-)
Best regards,
Adam
--
"No more than that, but very powerful all the Adam Sjøgren
same; simple things are good." [email protected]