Comment

Comment by tuxone

Really silly test

10$/mo droplet

  $ sysbench --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:                          1.5297s
      total number of events:              10000
      total time taken by event execution: 1.5219
      per-request statistics:
           min:                                  0.14ms
           avg:                                  0.15ms
           max:                                  4.68ms
           approx.  95 percentile:               0.16ms

  Threads fairness:
      events (avg/stddev):           10000.0000/0.00
      execution time (avg/stddev):   1.5219/0.00
C1

  $ sysbench --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:                          27.0053s
      total number of events:              10000
      total time taken by event execution: 26.9926
      per-request statistics:
           min:                                  2.69ms
           avg:                                  2.70ms
           max:                                  2.84ms
           approx.  95 percentile:               2.72ms

  Threads fairness:
      events (avg/stddev):           10000.0000/0.00
      execution time (avg/stddev):   26.9926/0.00
parent tuxone 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton