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.
Key Features
- 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/luawith#!/usr/bin/sysbenchin your script.
Oracle support is no longer available.
Website: github.com/akopytov/sysbench
Support:
Developer: Alexey Kopytov and contributors
License: GNU General Public License v2.0
sysbench is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Benchmark Tools | |
|---|---|
| hyperfine | Rust-based command-line benchmarking tool |
| Phoronix Test Suite | Comprehensive testing and benchmarking platform |
| s-tui | Terminal-based stress test and monitoring tool |
| fio | Scriptable I/O tool for storage benchmarks and drive testing |
| KDiskMark | HDD and SSD benchmarking with friendly graphical user interface |
| iperf3 | Active measurement of network performance on IP networks |
| IOzone | Filesystem benchmark tool |
| stress-ng | Stress next generation |
| Hardinfo2 | System information and benchmark tool |
| sysbench | Scriptable database and system performance benchmark |
| GtkStressTesting | Stress and monitor hardware components |
| glmark2 | Measure the performance of OpenGL 2.0 and OpenGL ES 2.0 |
| HardInfo | System Profiler and Benchmark |
| UnixBench | Original BYTE UNIX benchmark suite |
| netperf | A network performance benchmark |
| vkmark | Vulkan benchmarking suite |
| GNOME Disks | View, modify and configure disks and media |
| bonnie++ | Benchmark suite software |
| LLCbench | Low Level Architectural Characterization Benchmark Suite |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

