Software:Sysbench
Sysbench running | |
Original author(s) | Peter Zaitsev |
---|---|
Developer(s) | Alexy Kopytov |
Initial release | 2004 |
Stable release | 1.0.20
/ April 24, 2020 |
Written in | C, LuaJIT |
Operating system | Linux |
License | GNU General Public License v2.0 |
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.[1] However, it is a multi-purpose benchmark that features tests for CPU, memory, I/O, and database performance testing.[2] It is a basic command line utility that offers a direct and uncomplicated way to test your system. It now comes packaged in most major Linux distribution repositories such as Debian, Ubuntu, CentOS and Arch Linux.[3]
History
Sysbench was originally created by Peter Zaitsev in 2004.[4] Soon after, Alexy Kopytov took over its development.[5]
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.[3]
Usage
Sysbench can be run benchmark test specified in a linux shell or in shell script, or there are several other commands such as prepare or cleanup. 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
- ↑ Buzdar, Karim. "How to Use Sysbench for Linux Performance Testing?". https://linuxhint.com/use-sysbench-for-linux-performance-testing/.
- ↑ Congleton, Nick. "How to Benchmark Your Linux System" (in en-US). https://linuxconfig.org/how-to-benchmark-your-linux-system.
- ↑ 3.0 3.1 Kopytov, Alexy. "SysBench manual". https://imysql.com/wp-content/uploads/2014/10/sysbench-manual.pdf.
- ↑ "How to Benchmark Performance of MySQL & MariaDB Using SysBench" (in en). 2018-06-12. https://severalnines.com/database-blog/how-benchmark-performance-mysql-mariadb-using-sysbench.
- ↑ Kopytov, Alexey (2022-06-01), sysbench, https://github.com/akopytov/sysbench, retrieved 2022-06-01
Original source: https://en.wikipedia.org/wiki/Sysbench.
Read more |