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 | 2.41 ms | 9.22 ms | 1656 ops/sec |
Single Thread | 30.00 s | 0.67 ms | 0.70 ms | 1491 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 | 199.73 MiB/s | 0 MiB/s | 0.08 ms | 0.22 ms |
Random Read-Write 4k | 32.88 MiB/s | 21.92 MiB/s | 0.12 ms | 0.29 ms |
Random Write 4k | 0 MiB/s | 48.90 MiB/s | 0.14 ms | 0.35 ms |
Sequential Read | 554.66 MiB/s | 0 MiB/s | 0.03 ms | 0.21 ms |
Sequential Write | 0 MiB/s | 94.88 MiB/s | 0.07 ms | 0.18 ms |
Memory allocation and transfer speed.
Test Name | total_time | transfer_rate | operations_rate |
---|---|---|---|
Read | 19.39 s | 10.31 GiB/sec | 10812677 ops/sec |
Read 1MB | 19.53 s | 51.20 GiB/sec | 52427 ops/sec |
Write | 13.02 s | 7.68 GiB/sec | 8055838 ops/sec |
Write 1MB | 17.24 s | 23.21 GiB/sec | 23763 ops/sec |