Benchmarking

sysbench – scriptable database and system performance benchmark

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/lua with #!/usr/bin/sysbench in 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
hyperfineRust-based command-line benchmarking tool
Phoronix Test SuiteComprehensive testing and benchmarking platform
s-tuiTerminal-based stress test and monitoring tool
fioScriptable I/O tool for storage benchmarks and drive testing
KDiskMarkHDD and SSD benchmarking with friendly graphical user interface
iperf3Active measurement of network performance on IP networks
IOzoneFilesystem benchmark tool
stress-ngStress next generation
Hardinfo2System information and benchmark tool
sysbenchScriptable database and system performance benchmark
GtkStressTestingStress and monitor hardware components
glmark2Measure the performance of OpenGL 2.0 and OpenGL ES 2.0
HardInfoSystem Profiler and Benchmark
UnixBenchOriginal BYTE UNIX benchmark suite
netperfA network performance benchmark
vkmarkVulkan benchmarking suite
GNOME DisksView, modify and configure disks and media
bonnie++Benchmark suite software
LLCbenchLow Level Architectural Characterization Benchmark Suite

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments