-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy pathconfig-scheduler-schbench
27 lines (24 loc) · 1.05 KB
/
config-scheduler-schbench
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
### schbench is a latency measurement benchmark that uses a mix of worker and
### messaging threads. The worker threads wait for messages to come in which
### include a timestamp of when they were queued and records how long it took
### to receive the message. The message threads send messages and sleep for
### a small random amount of time in between. The benchmark reports quartiles
### of wakeup times of the worker threads with a specific interest in the
### worse-case outliers.
###
### In this configuration, the number of threads is bound by the size of a
### NUMA node to minimise the chances that delays reported are due to
### remote access latencies.
###
export MMTESTS="schbench"
# List of monitors
export RUN_MONITOR=yes
export MONITORS_ALWAYS=
export MONITORS_GZIP="proc-vmstat mpstat turbostat"
export MONITORS_WITH_LATENCY="vmstat"
export MONITOR_PERF_EVENTS=cpu-migrations,context-switches
export MONITOR_UPDATE_FREQUENCY=10
# schbench
export SCHBENCH_RUNTIME=30
export SCHBENCH_MESSAGE_THREADS=$NUMNODES
export SCHBENCH_THREADS=$(((NUMCPUS/NUMNODES)-1))