Provider | Plan | Cost per month | Disk space (GB) | Memory (GB) | Num Cores |
---|---|---|---|---|---|
Alibaba Cloud | ecs.n4.small | $13.66 | 20 | 2.0 | 1 |
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.01 s | 10.65 ms | 17.63 ms | 375.16 ops/sec |
Single Thread | 30.00 s | 2.64 ms | 2.71 ms | 378.12 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) | 8.62 MiB/s | 0 MiB/s | 1.81 ms | 0.87 ms |
Random Read-Write 4k | 4.78 MiB/s | 3.18 MiB/s | 0.86 ms | 1.86 ms |
Random Write 4k | 0 MiB/s | 7.55 MiB/s | 0.91 ms | 2.11 ms |
Sequential Read 128k (validate opt) | 102.60 MiB/s | 0 MiB/s | 4.87 ms | 12.30 ms |
Sequential Write 128k | 0 MiB/s | 102.62 MiB/s | 2.14 ms | 2.11 ms |
Memory allocation and transfer speed.
Test Name | total_time | transfer_rate | operations_rate |
---|---|---|---|
Read | 30.00 s | 5.82 GiB/sec | 6101681 ops/sec |
Read 1MB | 30.00 s | 19.64 GiB/sec | 20107 ops/sec |
Write | 20.55 s | 4.87 GiB/sec | 5102712 ops/sec |
Write 1MB | 26.08 s | 15.33 GiB/sec | 15701 ops/sec |