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.29 ms | 2.66 ms | 3095 ops/sec |
Single Thread | 30.00 s | 0.64 ms | 0.72 ms | 1548 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) | 33.70 MiB/s | 0 MiB/s | 0.46 ms | 0.62 ms |
Random Read-Write 4k | 5.39 MiB/s | 3.59 MiB/s | 0.76 ms | 2.97 ms |
Random Write 4k | 0 MiB/s | 6.64 MiB/s | 1.03 ms | 3.49 ms |
Sequential Read 128k (clear cache) | 418.60 MiB/s | 0 MiB/s | 1.19 ms | 1.73 ms |
Sequential Write 128k | 0 MiB/s | 233.79 MiB/s | 0.94 ms | 2.22 ms |
Memory allocation and transfer speed.
Test Name | total_time | transfer_rate | operations_rate |
---|---|---|---|
Read | 19.62 s | 10.20 GiB/sec | 10690409 ops/sec |
Read 1MB | 11.45 s | 87.32 GiB/sec | 89410 ops/sec |
Write | 21.24 s | 4.71 GiB/sec | 4935923 ops/sec |
Write 1MB | 14.76 s | 27.11 GiB/sec | 27756 ops/sec |