This project is a QA-Board wrapper around sysbench
's benchmarks:
- Install
sysbench
:
sudo apt install sysbench
# with non-debian systems: https://github.com/akopytov/sysbench
- Use
python3.7
and installqaboard
pip install --upgrade qaboard
- Get the code:
git clone git@github.com:arthur-flam/sysbench-qaboard.git
cd sysbench-qaboard
Edit qa/batches.yaml to configure the benchmark. For instance, for a fileio
benchmark:
benchark-fileio:
inputs:
- /some/disk
# https://github.com/akopytov/sysbench#general-syntax
configs:
# the test will prepare/run/clean
- testname: fileio
prepare: true # default is false!
clean: true # default is false!
# options will be forwared: sysbench [testname] run --flag/--param-name value
file-test-mode: rndrw
histogram: true
Then start with:
qa batch benchark-fileio
To start a cpu
benchmark:
benchark-cpu:
inputs:
- /proc/cpuinfo
configs:
- testname: cpu
histogram: true
# threads: 4
# cpu-max-prime: 20000
# time: 60
- Check/add relevant metrics/graphs for each test suit
-
fileio
-
cpu
-
memory
-
oltp_*.lua
-
threads
-
mutex
-