export MMTESTS="hpagealloc"

# List of monitors
export RUN_MONITOR=yes
export MONITORS_ALWAYS=
export MONITORS_GZIP="proc-vmstat proc-buddyinfo proc-pagetypeinfo"
export MONITORS_WITH_LATENCY="vmstat"
export MONITOR_UPDATE_FREQUENCY=10

# hpagealloc
export HPAGEALLOC_PAGESIZE=$((2*1048576))
export HPAGEALLOC_NR=$(((MEMTOTAL_BYTES*4/5)/HPAGEALLOC_PAGESIZE))
export HPAGEALLOC_STRIDE=10

if [ $HPAGEALLOC_STRIDE -ge $HPAGEALLOC_NR ]; then
	HPAGEALLOC_STRIDE=1
fi

if [ $HPAGEALLOC_NR -lt 5 ]; then
	echo FATAL: RAM size too small to meaningfully test
	exit -1
fi
