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||5.95 ms||13.70 ms||671.57 ops/sec|
|Single Thread||30.00 s||1.44 ms||1.58 ms||693.01 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 (validate opt)||94.97 MiB/s||0 MiB/s||0.16 ms||0.30 ms|
|Random Read-Write 4k||3.44 MiB/s||2.29 MiB/s||1.20 ms||4.03 ms|
|Random Write 4k||0 MiB/s||4.28 MiB/s||1.60 ms||5.28 ms|
|Sequential Read 128k (validate opt)||627.49 MiB/s||0 MiB/s||0.80 ms||1.44 ms|
|Sequential Write 128k||0 MiB/s||317.59 MiB/s||0.69 ms||3.36 ms|
Memory allocation and transfer speed.
|Read||30.00 s||6.11 GiB/sec||6412018 ops/sec|
|Read 1MB||22.64 s||44.17 GiB/sec||45225 ops/sec|
|Write||19.41 s||5.15 GiB/sec||5401759 ops/sec|
|Write 1MB||21.30 s||18.78 GiB/sec||19230 ops/sec|