Skip to content

Instantly share code, notes, and snippets.

@grahamc
Last active February 2, 2019 02:02
[root@packet-t2a-2:~]# /nix/store/ibrpywvi867qyp0k5wy1r1g1wfki96cl-sysbench-1.0.15/bin/sysbench --test=cpu --num-threads=1 --cpu-max-prime=9999 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.15 (using bundled LuaJIT 2.1.0-beta2)
Running the test with following options:
Number of threads: 1
Initializing random number generator from current time
Prime numbers limit: 9999
Initializing worker threads...
Threads started!
CPU speed:
events per second: 648.67
General statistics:
total time: 10.0006s
total number of events: 6490
Latency (ms):
min: 1.54
avg: 1.54
max: 1.66
95th percentile: 1.55
sum: 9994.35
Threads fairness:
events (avg/stddev): 6490.0000/0.00
execution time (avg/stddev): 9.9943/0.00
[root@packet-t2a-2:~]# /nix/store/ibrpywvi867qyp0k5wy1r1g1wfki96cl-sysbench-1.0.15/bin/sysbench --test=cpu --num-threads=32 --cpu-max-prime=9999 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.15 (using bundled LuaJIT 2.1.0-beta2)
Running the test with following options:
Number of threads: 32
Initializing random number generator from current time
Prime numbers limit: 9999
Initializing worker threads...
Threads started!
CPU speed:
events per second: 20754.13
General statistics:
total time: 10.0024s
total number of events: 207700
Latency (ms):
min: 1.54
avg: 1.54
max: 2.19
95th percentile: 1.55
sum: 319877.10
Threads fairness:
events (avg/stddev): 6490.6250/1.43
execution time (avg/stddev): 9.9962/0.00
[root@packet-t2a-2:~]# /nix/store/ibrpywvi867qyp0k5wy1r1g1wfki96cl-sysbench-1.0.15/bin/sysbench --test=cpu --num-threads=96 --cpu-max-prime=9999 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.15 (using bundled LuaJIT 2.1.0-beta2)
Running the test with following options:
Number of threads: 96
Initializing random number generator from current time
Prime numbers limit: 9999
Initializing worker threads...
Threads started!
CPU speed:
events per second: 58981.67
General statistics:
total time: 10.0035s
total number of events: 590308
Latency (ms):
min: 1.54
avg: 1.63
max: 29.55
95th percentile: 1.55
sum: 959479.10
Threads fairness:
events (avg/stddev): 6149.0417/697.01
execution time (avg/stddev): 9.9946/0.01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment