Linux command ‘sysbench‘ – is a multi threaded benchmarking tool for evaluating system performance across CPU memory file I/O and database workloads

root@pve-s740-05:~# lscpu -e
CPU NODE SOCKET CORE L1d:L1i:L2 ONLINE MAXMHZ MINMHZ MHZ
0 0 0 0 0:0:0 yes 2500.0000 800.0000 2396.1599
1 0 0 1 2:2:0 yes 2500.0000 800.0000 2398.5801
2 0 0 2 4:4:0 yes 2500.0000 800.0000 2396.1350
3 0 0 3 6:6:0 yes 2500.0000 800.0000 2302.1060
root@pve-s740-05:~#
root@js-ubuntu-26-04-01:~# sysbench cpu run –threads=4
sysbench 1.0.20 (using system LuaJIT 2.1.1761786044)
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: 5057.88
General statistics:
total time: 10.0005s
total number of events: 50593
Latency (ms):
min: 0.75
avg: 0.79
max: 48.73
95th percentile: 0.77
sum: 39945.45
Threads fairness:
events (avg/stddev): 12648.2500/91.63
execution time (avg/stddev): 9.9864/0.00
root@js-ubuntu-26-04-01:~#

Leave a Reply

You must be logged in to post a comment.