### specjbb is executed with one JVM with a maximum heap size of 60% of
### memory.

export MMTESTS="specjbb"

# List of monitors
export RUN_MONITOR=yes
export MONITORS_ALWAYS=
export MONITORS_GZIP="proc-vmstat top numa-numastat numa-meminfo numa-convergence mpstat turbostat"
export MONITORS_WITH_LATENCY="vmstat"
export MONITOR_UPDATE_FREQUENCY=10

# SPECjbb - max heap 60% of memory.
# Total heap is divided between number of instances
export SPECJBB_PACKAGES="java-17-openjdk java-17-openjdk-devel"
export SPECJBB_JRE=/usr/lib64/jvm/java-17-openjdk-17/bin
export SPECJBB_STARTING_WAREHOUSES=1
export SPECJBB_INCREMENT_WAREHOUSES=1
export SPECJBB_ENDING_WAREHOUSES=$NUMCPUS
export SPECJBB_JVM_INSTANCES=1
export SPECJBB_MAXHEAP_TOTAL_MB=$((MEMTOTAL_BYTES*6/10/1048576))
export SPECJBB_MAXHEAP=-Xmx$(($SPECJBB_MAXHEAP_TOTAL_MB/$SPECJBB_JVM_INSTANCES))m
export SPECJBB_PAGESIZES="default"
export SPECJBB_HUGESWITCH=-Xlp
