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.16 ms||9.56 ms||1852 ops/sec|
|Single Thread||30.00 s||1.61 ms||1.64 ms||622.57 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.
Sysbench fileio tests are run in synchronous mode, all operations are buffered. All tests are run with a number of threads that matches the number of vCPUs found in the instance with a minimum of 4.
|Random Read 4k||129.69 MiB/s||0 MiB/s||0.12 ms||0.25 ms|
|Random Read-Write 4k||27.21 MiB/s||18.14 MiB/s||0.15 ms||0.35 ms|
|Random Write 4k||0 MiB/s||40.46 MiB/s||0.17 ms||0.46 ms|
|Sequential Read||534.10 MiB/s||0 MiB/s||0.03 ms||0.21 ms|
|Sequential Read 128k||1035 MiB/s||0 MiB/s||0.48 ms||0.60 ms|
|Sequential Write||0 MiB/s||77.59 MiB/s||0.09 ms||0.21 ms|
|Sequential Write 128k||0 MiB/s||584.08 MiB/s||0.37 ms||0.42 ms|
Memory allocation and transfer speed.
|Read||15.84 s||12.63 GiB/sec||13239685 ops/sec|
|Read 1MB||7.78 s||128.51 GiB/sec||131593 ops/sec|
|Write||30.00 s||3.27 GiB/sec||3429395 ops/sec|
|Write 1MB||15.27 s||26.19 GiB/sec||26822 ops/sec|