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 | 3.79 ms | 6.79 ms | 1055 ops/sec |
Single Thread | 30.00 s | 2.82 ms | 3.13 ms | 354.16 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 (clear cache) | 99.13 MiB/s | 0 MiB/s | 0.16 ms | 0.22 ms |
Random Read-Write 4k | 23.85 MiB/s | 15.90 MiB/s | 0.17 ms | 0.45 ms |
Random Write 4k | 0 MiB/s | 36.93 MiB/s | 0.18 ms | 0.55 ms |
Sequential Read 128k (clear cache) | 1351 MiB/s | 0 MiB/s | 0.37 ms | 0.54 ms |
Sequential Write 128k | 0 MiB/s | 696.88 MiB/s | 0.31 ms | 0.60 ms |
Memory allocation and transfer speed.
Test Name | total_time | transfer_rate | operations_rate |
---|---|---|---|
Read | 15.21 s | 13.14 GiB/sec | 13782681 ops/sec |
Read 1MB | 18.35 s | 54.48 GiB/sec | 55792 ops/sec |
Write | 25.18 s | 3.97 GiB/sec | 4163633 ops/sec |
Write 1MB | 17.25 s | 23.19 GiB/sec | 23745 ops/sec |