Δημοσιεύτηκε: 29 Δεκ 2014, 20:45
- Κώδικας: Επιλογή όλων
joe@joe-desktop:~$ sysbench --test=cpu --cpu-max-prime=20000 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 20000
Test execution summary:
total time: 22.8790s
total number of events: 10000
total time taken by event execution: 22.8781
per-request statistics:
min: 2.27ms
avg: 2.29ms
max: 10.28ms
approx. 95 percentile: 2.30ms
Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 22.8781/0.00
joe@joe-desktop:~$ sysbench --test=cpu --cpu-max-prime=20000 --num-threads=2 runsysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 2
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 20000
Test execution summary:
total time: 11.4815s
total number of events: 10000
total time taken by event execution: 22.9613
per-request statistics:
min: 2.27ms
avg: 2.30ms
max: 10.69ms
approx. 95 percentile: 2.39ms
Threads fairness:
events (avg/stddev): 5000.0000/6.00
execution time (avg/stddev): 11.4806/0.00
joe@joe-desktop:~$ sysbench --test=cpu --cpu-max-prime=20000 --num-threads=3 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 3
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 20000
Test execution summary:
total time: 8.2523s
total number of events: 10000
total time taken by event execution: 24.7498
per-request statistics:
min: 2.27ms
avg: 2.47ms
max: 11.77ms
approx. 95 percentile: 2.58ms
Threads fairness:
events (avg/stddev): 3333.3333/47.06
execution time (avg/stddev): 8.2499/0.00
joe@joe-desktop:~$ sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 20000
Test execution summary:
total time: 6.4687s
total number of events: 10000
total time taken by event execution: 25.8635
per-request statistics:
min: 2.34ms
avg: 2.59ms
max: 8.58ms
approx. 95 percentile: 2.62ms
Threads fairness:
events (avg/stddev): 2500.0000/38.92
execution time (avg/stddev): 6.4659/0.00