sysbench icon indicating copy to clipboard operation
sysbench copied to clipboard

[Question] Meaning of CPU Speed / Events per second?

Open vieiro opened this issue 1 year ago • 1 comments

I'm trying to compare the CPU speed of two servers with sysbench cpu run (see attached images with results).

  • Server 1: CPU Speed/events per second 337.06
  • Server 2: CPU Speed/events per second 3682.68

But both servers have a similar total time around 10s.

Questions are:

  • Are both CPUs equivalent in speed because they end up having the same total time?
  • Is server 2 faster because it sends more "events" per second?
  • What's the meaning of these "events"?

Thanks! Antonio

[SERVER 1] image

[SERVER 2] image

vieiro avatar Jul 12 '23 15:07 vieiro

Ah, it seems this previous answer explains how to interpret these results:

  • you either limit the total time (default) and then the number of events per second is the performance indicator).
  • Or you either limit the number of events per second (and then the total time is the performance indicator).
  • In any case the "latency" is a good performance indicator.

Maybe we want a document explaining these results? If so I can do a PR, for instance.

vieiro avatar Jul 12 '23 16:07 vieiro