The cpu test is one of the most simple benchmarks in SysBench. In this mode each request consists in calculation of prime numbers up to a value specified by the --cpu-max-primes option. All calculations are performed using 64-bit integers. Each thread executes the requests concurrently until either the total number of requests or the total execution time exceed the limits specified with the common command line options.
|Multithreaded||30.00 s||2.47 ms||2.91 ms||1619 ops/sec|
|Single Thread||30.00 s||2.44 ms||2.81 ms||408.82 ops/sec|
This test mode can be used to produce various kinds of file I/O workloads. At the prepare stage SysBench creates a specified number of files with a specified total size, then at the run stage, each thread performs specified I/O operations on this set of files.
|Random Read 4k||339.23 MiB/s||0 MiB/s||0.05 ms||0.14 ms|
|Random Read-Write 4k||39.44 MiB/s||26.29 MiB/s||0.10 ms||0.32 ms|
|Random Write 4k||0 MiB/s||52.22 MiB/s||0.13 ms||0.37 ms|
|Sequential Read||400.04 MiB/s||0 MiB/s||0.04 ms||0.19 ms|
|Sequential Write||0 MiB/s||106.52 MiB/s||0.06 ms||0.15 ms|
Memory allocation and transfer speed.
|Read||14.90 s||13.42 GiB/sec||14071917 ops/sec|
|Write||30.00 s||3.15 GiB/sec||3305226 ops/sec|
All tests that were recently conducted at VpsBenchmarks: