zno@clunode0:~$ sysbench --num-threads=1 --test=cpu --cpu-max-prime=2000 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: 2000
Test execution summary:
total time: 19.4284s
total number of events: 10000
total time taken by event execution: 19.4216
per-request statistics:
min: 1.93ms
avg: 1.94ms
max: 12.44ms
approx. 95 percentile: 1.94ms
Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 19.4216/0.00
zno@clunode0:~$ sysbench --num-threads=2 --test=cpu --cpu-max-prime=2000 run
sysbench 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: 2000
Test execution summary:
total time: 9.8883s
total number of events: 10000
total time taken by event execution: 19.7683
per-request statistics:
min: 1.93ms
avg: 1.98ms
max: 12.33ms
approx. 95 percentile: 1.97ms
Threads fairness:
events (avg/stddev): 5000.0000/62.00
execution time (avg/stddev): 9.8841/0.00
zno@clunode0:~$ sysbench --num-threads=4 --test=cpu --cpu-max-prime=2000 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: 2000
Test execution summary:
total time: 4.9517s
total number of events: 10000
total time taken by event execution: 19.7902
per-request statistics:
min: 1.93ms
avg: 1.98ms
max: 13.08ms
approx. 95 percentile: 1.98ms
Threads fairness:
events (avg/stddev): 2500.0000/28.42
execution time (avg/stddev): 4.9475/0.00
zno@clunode0:~$ sysbench --test=memory --memory-block-size=1M --memory-total-size=256M run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Doing memory operations speed test
Memory block size: 1024K
Memory transfer size: 256M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 256 ( 1072.23 ops/sec)
256.00 MB transferred (1072.23 MB/sec)
Test execution summary:
total time: 0.2388s
total number of events: 256
total time taken by event execution: 0.2376
per-request statistics:
min: 0.66ms
avg: 0.93ms
max: 2.76ms
approx. 95 percentile: 1.65ms
Threads fairness:
events (avg/stddev): 256.0000/0.00
execution time (avg/stddev): 0.2376/0.00
zno@clunode0:~$ sysbench --test=memory --memory-block-size=512K --memory-total-size=512M run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Doing memory operations speed test
Memory block size: 512K
Memory transfer size: 512M
Memory operations type: write
Memory scope type: global
Threads started!
Done.
Operations performed: 1024 ( 2562.68 ops/sec)
512.00 MB transferred (1281.34 MB/sec)
Test execution summary:
total time: 0.3996s
total number of events: 1024
total time taken by event execution: 0.3980
per-request statistics:
min: 0.26ms
avg: 0.39ms
max: 10.38ms
approx. 95 percentile: 0.82ms
Threads fairness:
events (avg/stddev): 1024.0000/0.00
execution time (avg/stddev): 0.3980/0.00