tracy@tracy-hp:~$ sysbench --test=cpu run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 1
Initializing random number generator from current time
Prime numbers limit: 10000
Initializing worker threads...
Threads started!
CPU speed:
events per second: 861.57
General statistics:
total time: 10.0012s
total number of events: 8620
Threads fairness:
events (avg/stddev): 8620.0000/0.00
execution time (avg/stddev): 9.9991/0.00
tracy@tracy-hp:~$ sysbench --test=cpu --num-threads=16 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.11 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 16
Initializing random number generator from current time
Prime numbers limit: 10000
Initializing worker threads...
Threads started!
CPU speed:
events per second: 4668.70
General statistics:
total time: 10.0023s
total number of events: 46707
Threads fairness:
events (avg/stddev): 2919.1875/110.55
execution time (avg/stddev): 9.9938/0.01
tracy@tracy-hp:~$ sysbench --test=cpu --num-threads=16 --cpu-max-prime=100000 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.11 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 16
Initializing random number generator from current time
Prime numbers limit: 100000
Initializing worker threads...
Threads started!
CPU speed:
events per second: 199.77
General statistics:
total time: 10.0494s
total number of events: 2008
CPU benchmarking
tracy@tracy-hp:~$ sysbench --test=cpu run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 1
Initializing random number generator from current time
Prime numbers limit: 10000
Initializing worker threads...
Threads started!
CPU speed:
events per second: 861.57
General statistics:
total time: 10.0012s
total number of events: 8620
Latency (ms):
min: 1.14
avg: 1.16
max: 3.55
95th percentile: 1.21
sum: 9999.07
Threads fairness:
events (avg/stddev): 8620.0000/0.00
execution time (avg/stddev): 9.9991/0.00
tracy@tracy-hp:~$ sysbench --test=cpu --num-threads=16 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.11 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 16
Initializing random number generator from current time
Prime numbers limit: 10000
Initializing worker threads...
Threads started!
CPU speed:
events per second: 4668.70
General statistics:
total time: 10.0023s
total number of events: 46707
Latency (ms):
min: 1.55
avg: 3.42
max: 49.71
95th percentile: 17.63
sum: 159900.51
Threads fairness:
events (avg/stddev): 2919.1875/110.55
execution time (avg/stddev): 9.9938/0.01
tracy@tracy-hp:~$ sysbench --test=cpu --num-threads=16 --cpu-max- prime=100000 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.11 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 16
Initializing random number generator from current time
Prime numbers limit: 100000
Initializing worker threads...
Threads started!
CPU speed:
events per second: 199.77
General statistics:
total time: 10.0494s
total number of events: 2008
Latency (ms):
min: 39.76
avg: 79.86
max: 156.43
95th percentile: 92.42
sum: 160358.07
Threads fairness:
events (avg/stddev): 125.5000/1.94
execution time (avg/stddev): 10.0224/0.01
tracy@tracy-hp:~$