Skip to content

Instantly share code, notes, and snippets.

@grahamc
Last active February 2, 2019 02:02

Revisions

  1. grahamc revised this gist Feb 2, 2019. 1 changed file with 33 additions and 33 deletions.
    66 changes: 33 additions & 33 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    [root@packet-t2a-2:~]# /nix/store/ibrpywvi867qyp0k5wy1r1g1wfki96cl-sysbench-1.0.15/bin/sysbench --test=cpu --num-threads=1 --cpu-max-prime=9999 run
    [root@packet-t2a6-ampere-1:~]# ./result/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)

    @@ -14,25 +14,25 @@ Initializing worker threads...
    Threads started!

    CPU speed:
    events per second: 648.67
    events per second: 1263.48

    General statistics:
    total time: 10.0006s
    total number of events: 6490
    total time: 10.0005s
    total number of events: 12674

    Latency (ms):
    min: 1.54
    avg: 1.54
    max: 1.66
    95th percentile: 1.55
    sum: 9994.35
    min: 0.79
    avg: 0.79
    max: 0.80
    95th percentile: 0.80
    sum: 9995.99

    Threads fairness:
    events (avg/stddev): 6490.0000/0.00
    execution time (avg/stddev): 9.9943/0.00
    events (avg/stddev): 12674.0000/0.00
    execution time (avg/stddev): 9.9960/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
    [root@packet-t2a6-ampere-1:~]# ./result/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)
    @@ -49,25 +49,25 @@ Initializing worker threads...
    Threads started!

    CPU speed:
    events per second: 20754.13
    events per second: 40536.06

    General statistics:
    total time: 10.0024s
    total number of events: 207700
    total time: 10.0015s
    total number of events: 405587

    Latency (ms):
    min: 1.54
    avg: 1.54
    max: 2.19
    95th percentile: 1.55
    sum: 319877.10
    min: 0.78
    avg: 0.79
    max: 4.89
    95th percentile: 0.80
    sum: 319843.62

    Threads fairness:
    events (avg/stddev): 6490.6250/1.43
    execution time (avg/stddev): 9.9962/0.00
    events (avg/stddev): 12674.5938/4.17
    execution time (avg/stddev): 9.9951/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
    [root@packet-t2a6-ampere-1:~]# ./result/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)
    @@ -84,21 +84,21 @@ Initializing worker threads...
    Threads started!

    CPU speed:
    events per second: 58981.67
    events per second: 40532.64

    General statistics:
    total time: 10.0035s
    total number of events: 590308
    total time: 10.0023s
    total number of events: 405575

    Latency (ms):
    min: 1.54
    avg: 1.63
    max: 29.55
    95th percentile: 1.55
    sum: 959479.10
    min: 0.78
    avg: 2.36
    max: 52.79
    95th percentile: 24.83
    sum: 958032.90

    Threads fairness:
    events (avg/stddev): 6149.0417/697.01
    execution time (avg/stddev): 9.9946/0.01
    events (avg/stddev): 4224.7396/438.72
    execution time (avg/stddev): 9.9795/0.02


  2. grahamc created this gist Feb 2, 2019.
    104 changes: 104 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,104 @@
    [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