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 | 0.52 ms | 0.54 ms | 15373 ops/sec |
Single Thread | 30.00 s | 0.50 ms | 0.51 ms | 2009 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 (validate opt) | 365.28 MiB/s | 0 MiB/s | 0.09 ms | 0.18 ms |
Random Read-Write 4k | 95.15 MiB/s | 63.43 MiB/s | 0.09 ms | 0.18 ms |
Random Write 4k | 0 MiB/s | 203.88 MiB/s | 0.07 ms | 0.17 ms |
Sequential Read 128k (validate opt) | 1358 MiB/s | 0 MiB/s | 0.74 ms | 1.21 ms |
Sequential Write 128k | 0 MiB/s | 1122 MiB/s | 0.39 ms | 0.16 ms |
Memory allocation and transfer speed.
Test Name | total_time | transfer_rate | operations_rate |
---|---|---|---|
Read | 3.15 s | 63.57 GiB/sec | 66656296 ops/sec |
Read 1MB | 3.15 s | 317.82 GiB/sec | 325445 ops/sec |
Write | 5.63 s | 17.77 GiB/sec | 18633956 ops/sec |
Write 1MB | 4.18 s | 95.68 GiB/sec | 97971 ops/sec |