linux cpu banchmark test

linux docker vm
Post Reply
dev
Site Admin
Posts: 60
Joined: 09 Mar 2021, 17:52

linux cpu banchmark test

Post by dev »

Sysbench (Benchmark Only)

Sysbench, as the name suggests, is a command line app to run benchmarks on your system. Written in Lua, Sysbench is mainly intended for doing database benchmarking. However it includes options to test CPU, memory and file throughput as well.

To install Sysbench in Ubuntu, run the command below:

Code: Select all

sudo apt install sysbench
To start a benchmark using Sysbench, run the following command:

Code: Select all

sysbench cpu --threads=2 run
Where:

“cpu” is the test type
“threads” is the number of threads created by sysbench to perform multi-threaded benchmarking

Code: Select all

sysbench cpu --cpu-max-prime=200000 --threads=12 --time=0 --events=10000 run
Post Reply