sysbench is a scriptable multi-threaded benchmark tool based on LuaJIT.
It’s most frequently used for database benchmarks, but can also be used to create arbitrarily complex workloads that do not involve a database server.
sysbench uses the Cram framework for functional and regression testing. It’s free and open source software.
sysbench comes with the following bundled benchmarks:
- oltp_*.lua: a collection of OLTP-like database benchmarks.
- fileio: a filesystem-level benchmark.
- cpu: a simple CPU benchmark.
- memory: a memory access benchmark.
- threads: a thread-based scheduler benchmark.
- mutex: a POSIX mutex benchmark.
- Extensive statistics about rate and latency is available, including latency percentiles and histograms;
- Low overhead even with thousands of concurrent threads. sysbench is capable of generating and tracking hundreds of millions of events per second;
- New benchmarks can be easily created by implementing pre-defined hooks in user-provided Lua scripts;
- Can be used as a general-purpose Lua interpreter as well, simply replace
#!/usr/bin/sysbenchin your script.
Oracle support is no longer available.
Developer: Alexey Kopytov and contributors
License: GNU General Public License v2.0
Click the button to make a donation via flattr. Donations help us to maintain and improve the site. You can also donate via PayPal.
Read our complete collection of recommended free and open source software. The collection covers all categories of software.
The software collection forms part of our series of informative articles for Linux enthusiasts. There's tons of in-depth reviews, alternatives to Google, fun things to try, hardware, free programming books and tutorials, and much more.