### Siege (https://www.joedog.org/siege-home/) is a HTTP load testing and
### benchmarking tool. It was intended to be a stress test of HTTP applications.
### In this configuration, it is hammering on a single static page served by
### Apache 2.4.10. Due to the small page size, it runs 6 iterations for 30
### seconds and runs from 1 user to 64*NUMCPUS users.

export MMTESTS="siege"

# List of monitors
export RUN_MONITOR=yes
export MONITORS_ALWAYS=
export MONITORS_GZIP="proc-vmstat top mpstat turbostat"
export MONITORS_WITH_LATENCY="vmstat"
export MONITOR_UPDATE_FREQUENCY=10
export MONITOR_FTRACE_EVENTS=
export MONITOR_PERF_EVENTS=

# Siege
export SIEGE_MAX_USERS=$((NUMCPUS*64))
export SIEGE_ITERATIONS=6
export SIEGE_ITER_TIME=30

if [ $SIEGE_MAX_USERS -gt 250 ]; then
	SIEGE_MAX_USERS=250
fi
