Amazon EC2 Sysbench Tests
t4g.small - Aug 27 2021

Go to Amazon EC2



Provider Plan Cost per month Disk space (GB) Memory (GB) Num Cores
Amazon EC2 t4g.small $16.10 40 2.0 2

Learn how to read Sysbench test results

Cpu

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.08 s 9.15 ms 1.04 ms 435.38 ops/sec
Single Thread 30.02 s 1.18 ms 0.99 ms 848.22 ops/sec

Fileio

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 13.73 MiB/s 0 MiB/s 1.14 ms 1.58 ms
Random Read-Write 4k 7.62 MiB/s 5.08 MiB/s 0.54 ms 1.73 ms
Random Write 4k 0 MiB/s 11.83 MiB/s 0.58 ms 2.43 ms
Sequential Read 128.05 MiB/s 0 MiB/s 0.12 ms 1.06 ms
Sequential Read 128k 128.14 MiB/s 0 MiB/s 3.90 ms 4.82 ms
Sequential Write 0 MiB/s 15.03 MiB/s 0.46 ms 0.01 ms
Sequential Write 128k 0 MiB/s 130.09 MiB/s 1.69 ms 0.16 ms

Memory

Memory allocation and transfer speed.

Test Name total_time transfer_rate operations_rate
Read 30.00 s 6.24 GiB/sec 6540559 ops/sec
Read 1MB 21.33 s 46.88 GiB/sec 48005 ops/sec
Write 28.80 s 3.47 GiB/sec 3641022 ops/sec
Write 1MB 16.88 s 23.69 GiB/sec 24257 ops/sec

Be the first to learn about new Best VPS rankings. Subscribe to our newsletter.