Re: bogo-bogomips

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Sat Mar 18 2000 - 08:26:08 EST


Philipp Rumpf wrote:
> On Fri, Mar 17, 2000 at 11:28:37PM +1100, Andrew Morton wrote:
> > 2.3.99-pre1 is getting my bogomips wrong:
>
> No it's not. It's calculating them in a different way (the rdtsc-
> based __delay()) than older kernels did; this was necessary to
> avoid problems with new / planned CPUs that have unexpected delay
> loop behaviour (for example, Laptop CPUs that run at different
> clock speeds when they are using AC rather than battery).

Actually it won't correct for current laptop CPUs that vary the clock
speed -- the tsc speed also varies.

It will probably correct for future laptop CPUs though, such as (no
surprise) the Transmeta one.

-- Jamie

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



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:23 EST