Re: about interlagos

From: Mahmood Naderan
Date: Sat Jun 16 2012 - 05:34:41 EST


Thanks
// Naderan *Mahmood;


----- Original Message -----
From: Clemens Ladisch <clemens@xxxxxxxxxx>
To: Mahmood Naderan <nt_mahmood@xxxxxxxxx>
Cc: "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>
Sent: Saturday, June 16, 2012 1:50 PM
Subject: Re: about interlagos

Mahmood Naderan wrote:
> As you can see, although interlagos is the newest one which has higher cpu
> clock rate and higher cache size, the bogomips of interlagos is the lowest!
> I read that bogomips is not a true measurement,

Indeed it is not.

> but it senses as a speed meter.

It measures the speed of one particular delay loop.  Because such a busy
loop is pretty much the silliest thing you could do to a CPU, it does
not make sense to use it to measure overall CPU speed, or to compare
different microarchitectures.

> Any idea?

If you want to know how fast your code will execute, you have to measure
that code.  If you are too lazy to do this, search for a benchmark that
represents that code well; for general-purpose code, the gcc part of the
SPEC CPU benchmark probably comes closest.


Regards,
Clemens

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/