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

# MM Test Parameters
export MMTESTS="specjbb2015"

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

# SPECjbb - max heap 60% of memory.
# Total heap is divided between number of instances
export SPECJBB_JRE=/opt/java/jre/bin
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_HEAP_CONTROLLER=-Xmx$((2*1024*1048576))m
export SPECJBB_HEAP_BACKEND=-Xmx$((4*1024*1048576))m
export SPECJBB_HEAP_TXI=-Xmx$((2*1024*1048576))m
export SPECJBB_TXI_PER_INSTANCE=1
export SPECJBB_PAGESIZES="default"
#export SPECJBB_PAGESIZES="base huge"
export SPECJBB_HUGESWITCH=-Xlp
