rustyrazorblade / easy-cass-lab

Other
5 stars 4 forks source link

easy-cass stress should use ZGC #118

Open rustyrazorblade opened 2 months ago

rustyrazorblade commented 2 months ago

Stress instances should use java 17 with ZGC. Let's do this as part of the up command:

VER=$(update-java-alternatives -l | grep java-1.17 | awk '{print $1}')
sudo update-java-alternatives -s $VER

Save a few GB for the OS but give the rest to easy-cass-stress and do something like this:

export EASY_CASS_STRESS_OPTS="-XX:+UseZGC -Xmx12G -Xms12G -XX:-ZUncommit"

I think we can drop this into /etc/profile.d/stress.sh

Skip it on the C* nodes.