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.

Features include:

  • 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.

Return to Benchmark Tools Home Page


Make a Donation
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.
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.