Provider | Plan | Cost per month | Disk space (GB) | Memory (GB) | Num Cores |
---|---|---|---|---|---|
DigitalOcean | General Purpose 2 cores | $68.00 | 50 | 8.0 | 2 |
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 | 5.37 ms | 10.65 ms | 744.45 ops/sec |
Single Thread | 30.00 s | 2.31 ms | 2.35 ms | 432.44 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 | 174.68 MiB/s | 0 MiB/s | 0.09 ms | 0.20 ms |
Random Read-Write 4k | 12.25 MiB/s | 8.17 MiB/s | 0.34 ms | 2.39 ms |
Random Write 4k | 0 MiB/s | 13.80 MiB/s | 0.50 ms | 2.39 ms |
Sequential Read | 326 MiB/s | 0 MiB/s | 0.05 ms | 0.44 ms |
Sequential Write | 0 MiB/s | 301.44 MiB/s | 0.02 ms | 0.01 ms |
Memory allocation and transfer speed.
Test Name | total_time | transfer_rate | operations_rate |
---|---|---|---|
Read | 20.74 s | 9.64 GiB/sec | 10112382 ops/sec |
Read 1MB | 30.00 s | 32.86 GiB/sec | 33653 ops/sec |
Write | 15.29 s | 6.54 GiB/sec | 6855762 ops/sec |
Write 1MB | 23.86 s | 16.77 GiB/sec | 17168 ops/sec |