deployer@rhel8:~$ sudo dnf install -y sysbench
deployer@rhel8:~$ sysbench --test=cpu --num-threads=4 run
deployer@rhel8:~$ sudo sysbench --test=cpu --num-threads=4 run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
WARNING: --num-threads is deprecated, use --threads instead
sysbench 1.0.17 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 4
Initializing random number generator from current time
Prime numbers limit: 10000
Initializing worker threads...
Threads started!
CPU speed:
events per second: 1098.60
General statistics:
total time: 10.0024s
total number of events: 10992
Latency (ms):
min: 1.81
avg: 3.64
max: 23.85
95th percentile: 8.90
sum: 39968.61
Threads fairness:
events (avg/stddev): 2748.0000/15.22
execution time (avg/stddev): 9.9922/0.01