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
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
UnixBenchOriginal BYTE UNIX benchmark suite
LikwidPerformance monitoring and benchmarking tools for Linux systems
netperfA network performance benchmark
vkmarkVulkan benchmarking suite
GNOME DisksView, modify and configure disks and media
elbenchoDistributed benchmark for storage and network performance
bonnie++Benchmark suite software

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted