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.01 s | 13.69 ms | 19.29 ms | 291.84 ops/sec |
Single Thread | 30.00 s | 3.42 ms | 3.49 ms | 292.20 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 | 20.77 MiB/s | 0 MiB/s | 0.75 ms | 1.16 ms |
Random Read-Write 4k | 6.29 MiB/s | 4.19 MiB/s | 0.65 ms | 1.93 ms |
Random Write 4k | 0 MiB/s | 8.88 MiB/s | 0.77 ms | 2.71 ms |
Sequential Read | 223.54 MiB/s | 0 MiB/s | 0.07 ms | 0.59 ms |
Sequential Write | 0 MiB/s | 54.66 MiB/s | 0.12 ms | 0.50 ms |
Memory allocation and transfer speed.
Test Name | total_time | transfer_rate | operations_rate |
---|---|---|---|
Read | 30.00 s | 475.03 MiB/sec | 486434 ops/sec |
Read 1MB | 30.00 s | 15.49 GiB/sec | 15862 ops/sec |
Write | 30.00 s | 464.58 MiB/sec | 475727 ops/sec |
Write 1MB | 30.00 s | 10.98 GiB/sec | 11247 ops/sec |