### trunc is a microbenchmark that times how long it takes to fault
### a number of sparse files and then truncate them. Truncation
### time is the primary metric.
export MMTESTS="trunc"

# 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=xfs
#export TESTDISK_MKFS_PARAM="-f -d agcount=8"
#export TESTDISK_MOUNT_ARGS=inode64,delaylog,logbsize=262144,nobarrier

# List of monitors
export RUN_MONITOR=yes
export MONITORS_ALWAYS=
#export MONITORS_TRACER="perf-event-stat"
export MONITORS_GZIP="proc-vmstat mpstat iotop"
export MONITORS_WITH_LATENCY="vmstat iostat"
export MONITOR_UPDATE_FREQUENCY=10

# Trunc
export TRUNC_ITERATIONS=10
export TRUNC_NR_FILES=10
export TRUNC_FILESIZE=$((1048576*1024))
