/tune

Tune hardware and OS to improve benchmark stability

Primary LanguageLuaMIT LicenseMIT

sysbench tune

This is a sysbench module implemented to tune hardware and operating systems to achieve as stable results as possible. It is inspired by utilities like Tuned, perf system and Krun. For now the focus is on MySQL benchmarks on Linux and all settings are based on the author's personal experience with a particular set of benchmarks, but the goal is to expand it to work for other software, hardware and operating systems combinations in the future.

Installation

The easiest way is to install from SysbenchRocks:

luarocks install --server=http://rocks.sysbench.io tune

Usage

# List available profiles
sysbench tune list
# Apply a profile.
# 'mysqlbench' is the only available profile at the moment. 
# Most settings require root.
sudo sysbench tune apply --profile=mysqlbench