Web lists-archives.com

Re: which program can test cpu speed




On Fri, Oct 26, 2018 at 07:51:16PM +0200, Pascal Hambourg wrote:
> Le 26/10/2018 à 16:34, Reco a écrit :
> > 
> > On Fri, Oct 26, 2018 at 09:59:16AM -0400, Michael Stone wrote:
> > > On Fri, Oct 26, 2018 at 08:57:29AM +0300, Reco wrote:
> > > > 
> > > > grep bogomips /proc/cpuinfo
> > > 
> > > Anyone reading that advice: ignore it. You cannot use bogomips to meaningfully compare processors.
> > 
> > The reason being?
> > The kernel uses it just fine for the clock calibration.
> 
> As far as I remember, the bogomips number has consistently been twice the current clock frequency on any x86 PCU I have ever run Linux on.

Either your math is off, or they've changed it.

$ lscpu | egrep '(Vendor|MHz|MIPS)' # This PC
Vendor ID:             GenuineIntel
CPU MHz:               1599.975
CPU max MHz:           3800.0000
CPU min MHz:           1600.0000
BogoMIPS:              6800.59

$ lscpu | egrep '(Vendor|MHz|MIPS)' # Certain VPS
Vendor ID:             GenuineIntel
CPU MHz:               2099.996
BogoMIPS:              4199.99

And,

$ lscpu | egrep '(Vendor|MHz|MIPS)' # Xeon X5675
Vendor ID:             GenuineIntel
CPU MHz:               1600.000
BogoMIPS:              6117.70

> How can you measure and compare processor performance from the mere clock frequency ?

That's I agree with.

REco