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 | 1.19 ms | 8.58 ms | 3351 ops/sec |
Single Thread | 30.00 s | 0.60 ms | 0.62 ms | 1674 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) | 123.06 MiB/s | 0 MiB/s | 0.13 ms | 0.18 ms |
Random Read-Write 4k | 75.06 MiB/s | 50.04 MiB/s | 0.05 ms | 0.17 ms |
Random Write 4k | 0 MiB/s | 175.19 MiB/s | 0.04 ms | 0.14 ms |
Sequential Read 128k (clear cache) | 1391 MiB/s | 0 MiB/s | 0.36 ms | 0.53 ms |
Sequential Write 128k | 0 MiB/s | 1508 MiB/s | 0.14 ms | 0.10 ms |
Memory allocation and transfer speed.
Test Name | total_time | transfer_rate | operations_rate |
---|---|---|---|
Read | 18.75 s | 10.67 GiB/sec | 11186689 ops/sec |
Read 1MB | 9.85 s | 101.52 GiB/sec | 103959 ops/sec |
Write | 20.97 s | 4.77 GiB/sec | 4999701 ops/sec |
Write 1MB | 9.44 s | 42.38 GiB/sec | 43398 ops/sec |