Learn how to read Sysbench test results
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.
Test Name | total_time | per_request_avg | per_request_p95 | events_rate |
---|---|---|---|---|
Multithreaded | 30.00 s | 7.76 ms | 12.52 ms | 515.20 ops/sec |
Single Thread | 30.00 s | 3.90 ms | 4.57 ms | 256.38 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.
Test Name | read_transfer_rate | write_transfer_rate | avg_latency | p95_latency |
---|---|---|---|---|
Random Read 4k | 33.69 MiB/s | 0 MiB/s | 0.46 ms | 1.08 ms |
Random Read-Write 4k | 11.42 MiB/s | 7.61 MiB/s | 0.36 ms | 1.12 ms |
Random Write 4k | 0 MiB/s | 17.02 MiB/s | 0.40 ms | 1.34 ms |
Sequential Read | 345.06 MiB/s | 0 MiB/s | 0.04 ms | 0.50 ms |
Sequential Write | 0 MiB/s | 97.63 MiB/s | 0.07 ms | 0.18 ms |
Memory allocation and transfer speed.
Test Name | total_time | transfer_rate | operations_rate |
---|---|---|---|
Read | 30.00 s | 6.44 GiB/sec | 6750328 ops/sec |
Read 1MB | 30.00 s | 29.37 GiB/sec | 30070 ops/sec |
Write | 27.38 s | 3.65 GiB/sec | 3829026 ops/sec |
Write 1MB | 27.35 s | 14.63 GiB/sec | 14976 ops/sec |