A python module that wraps sysbench benchmarks. Note: sysbench has to be installed
The cpu 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.
def cpu(cpu_max_prime)
Dict:
- total time [s]
This test benchmarks the scheduler performance, more specifically the cases when a scheduler has a large number of threads competing for some set of mutexes.
def threads(max_time, num_threads)
Dict:
- average latency [ms]
This test mode can be used to benchmark sequential memory reads or writes.
def memory(mem_block_size, mem_total_size)
Dict:
- throughput [ops/s]
This test mode can be used to produce various kinds of file I/O workloads.
def fileio(file_total_size, file_test_mode, max_time, max_requests)
Dict:
- read ops [ops/s]
- write ops [ops/s]
- fsync ops [ops/s]
- throughput read [MiB/s]
- throughput write [MiB/s]