Sysbench mit allen Cores eines Systems
apt-get install sysbench
sysbench --test=cpu --cpu-max-prime=100000 --num-threads=<cores> run Bespiel: sysbench --test=cpu --cpu-max-prime=100000 --num-threads=48 run
Huawei RH2288H
root@huawei-bigbob:~# sysbench --test=cpu --cpu-max-prime=100000 --num-threads=48 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 48
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 100000
Test execution summary:
total time: 6.6324s
total number of events: 10000
total time taken by event execution: 316.4935
root@huawei-bigbob:~# sysbench --test=cpu --cpu-max-prime=500000 --num-threads=48 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 48
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 500000
Test execution summary:
total time: 61.9618s
total number of events: 10000
total time taken by event execution: 2967.1602
Huawei RH8100 V3
root@huawei-bigalice:~# sysbench --test=cpu --cpu-max-prime=100000 --num-threads=240 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 240
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 100000
Test execution summary:
total time: 2.1554s
total number of events: 10000
total time taken by event execution: 417.1663
root@huawei-bigalice:~# sysbench --test=cpu --cpu-max-prime=500000 --num-threads=240 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 240
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 500000
Test execution summary:
total time: 15.9606s
total number of events: 10000
total time taken by event execution: 3686.0931