Misplaced Pages

Sysbench

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Linux command
The topic of this article may not meet Misplaced Pages's notability guidelines for products and services. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted.
Find sources: "Sysbench" – news · newspapers · books · scholar · JSTOR (June 2022) (Learn how and when to remove this message)
Sysbench
Sysbench running
Original author(s)Peter Zaitsev
Developer(s)Alexy Kopytov
Initial release2004
Stable release1.0.20 / April 24, 2020
Repository
Written inC, LuaJIT
Operating systemLinux
LicenseGNU General Public License v2.0-only
Websitegithub.com/akopytov/sysbench Edit this on Wikidata

In computing, sysbench is an open-source software tool. Specifically, it is a scriptable multi-threaded benchmarking tool designed for Linux systems. It is a C binary and uses LuaJIT scripts to execute benchmarks. It is most frequently used for database benchmarks, for example MySQL, but can also be used to create arbitrarily complex workloads that do not involve a database server for general testing. It is a multi-purpose benchmark that features tests for CPU, memory, I/O, and database performance testing. It is a basic command line utility that offers a direct way to benchmark computer hardware. It now comes packaged in most major Linux distribution repositories such as Debian, Ubuntu, CentOS and Arch Linux.

History

Sysbench was originally created by Peter Zaitsev in 2004. Soon after, Alexy Kopytov took over its development.

Design

Sysbench tests the load by running multiple threads at the same time. The number of threads is specified by the user. Depending on the testing mode, Sysbench can test the total number of requests or the amount of time required to run the complete benchmark, or both.

Usage

Sysbench can run benchmark tests specified in command line flags or in shell scripts. The type of test to run is specified in the command options and would be one of:

  • cpu: CPU performance test
  • fileio: File I/O test
  • memory: Memory speed test
  • mutex: Mutex performance test
  • threads: Threads subsystem performance test

Sample Command Usage

A commonly used variation of Sysbench may look like the following: sysbench --test=cpu --cpu-max-prime=20000 --threads=32 run.

References

  1. Sysbench License, retrieved 2024-11-01
  2. Buzdar, Karim. "How to Use Sysbench for Linux Performance Testing?".
  3. Congleton, Nick. "How to Benchmark Your Linux System". Linux Tutorials - Learn Linux Configuration. Retrieved 2022-06-01.
  4. ^ Kopytov, Alexy. "SysBench manual" (PDF). iMySQL (PDF file). Retrieved 2 June 2022.
  5. "How to Benchmark Performance of MySQL & MariaDB Using SysBench". Severalnines. 2018-06-12. Retrieved 2022-06-01.
  6. Kopytov, Alexey (2022-06-01), sysbench, retrieved 2022-06-01
Categories: