Sysbench

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Sysbench
Original authorPeter Zaitsev
DeveloperAlexy Kopytov
Initial release2004
Stable release
1.0.20 / April 24, 2020
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Written inC, LuaJIT
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating systemLinux
    LicenseGNU General Public License v2.0-only[1]

    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.[2] It is a multi-purpose benchmark that features tests for CPU, memory, I/O, and database performance testing.[3] 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.[4]

    History

    [edit | edit source]

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

    Design

    [edit | edit source]

    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.[4]

    Usage

    [edit | edit source]

    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

    [edit | edit source]

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

    References

    [edit | edit source]
    1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    4. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    5. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    6. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).