### ebizzy is intended to simulate the backend of a database backend but it
### is not IO intensive. Instead it is both scheduler and allocator intensive.
### Regressions here can indicate a regression in either area. Note that the
### allocation pattern means that it may be a microbenchmark of mmap/munmap
### depending on the version of glibc used.

# MM Test Parameters
export MMTESTS="ebizzy"

# Test disk to setup (optional)
#export TESTDISK_RAID_DEVICES=
#export TESTDISK_RAID_MD_DEVICE=/dev/md0
#export TESTDISK_RAID_OFFSET=63
#export TESTDISK_RAID_SIZE=250019532
#export TESTDISK_RAID_TYPE=raid0
#export TESTDISK_PARTITION=/dev/sda6
#export TESTDISK_FILESYSTEM=ext3
#export TESTDISK_MKFS_PARAM="-f -d agcount=8"
#export TESTDISK_MOUNT_ARGS=""

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

# EBizzy
export EBIZZY_MAX_THREADS=$((NUMCPUS*4))
export EBIZZY_DURATION=3
export EBIZZY_ITERATIONS=100

echo never > /sys/kernel/mm/transparent_hugepage/enabled
