arca-sysbench is a workload plugin of the sysbench benchmark tool using the Arcaflow python SDK.
Supported sysbench input parameters are defined in the SysbenchInputParams
schema of the sysbench_plugin.py file.
You define your test parameters in a YAML file to be passed to the plugin command as shown in either sysbench_cpu_example.yaml or sysbench_memory_example.yaml.
In order to run the sysbench plugin run the following steps:
- Clone this repository
- Create a
venv
in the current directory withpython3 -m venv $(pwd)/venv
- Activate the
venv
by runningsource venv/bin/activate
- Run
pip install -r requirements.txt
- Run
./sysbench_plugin.py -f configs/sysbench_cpu_example.yaml -s sysbenchcpu
to run sysbench for cpu - Run
./sysbench_plugin.py -f configs/sysbench_memory_example.yaml -s sysbenchmemory
to run sysbench for memory