### wikibench

# MM Test Parameters
export MMTESTS="mediawikibuild wikibench-req-small"
export RUN_WARMUP=

# Profiling parameters
export RUN_NOPROFILE=yes
export RUN_FINEPROFILE=no
export RUN_COARSEPROFILE=no

# 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_PLAIN=
export MONITORS_GZIP="proc-vmstat top"
export MONITORS_WITH_LATENCY="vmstat iostat"
export MONITOR_UPDATE_FREQUENCY=10

# wikibench
export JAVA_HOME=/opt/java
export WIKIBENCH_MIN_WORKERS=2
export WIKIBENCH_MAX_WORKERS=$((NUMCPUS*2))

# -- A warmup phase of ten minutes. Wikibench suggests
#    enabling this to avoid numbers influenced by cold
#    caches. See more in the bench shellpack. [yes|no]
export WIKIBENCH_WARMUP=no

# -- The SUT (System Under Test) is where the web and database
#    servers are, which services the wikipedia entries that
#    wikibench is about to bomb with http requests. Change if
#    mediawiki is installed and running on a different host
#    other than this one (same for httpd port).
export WIKIBENCH_SUT_HOSTNAME=localhost
export WIKIBENCH_SUT_PORT=80

# -- Explicitly pass a previously sampled tracefile with the
#    requests. Uncomment this to override the large/small
#    defaults and tell mmtests to use this file. These can
#    be found in http://www.linux-scalability.org/benchmarks/
#      sampled-traces-2007-09-req-dummy
#export WIKIBENCH_WORKLOAD="sampled-traces-2007-09-req-dummy"
