Re: Wrong bogomips after plugging in AC power

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 29 Oct 1999 20:43:18 +0100 (BST)


> > If I plug it into AC power, it will speed up to 300MHz, but bogomips
> > still have "slow" value. Therefore all udelays are wrong by factor of
> > two -- udelay(50) will only wait approx. 25usec. That seems pretty
> > dangerous to me. Maybe we need some other source of short loops?
>
> I suspect I'll see a similar problem on the PowerPC. The PPC has a way of
> throttling the rate instructions are delivered from the icache to the execution

You may want to call the bogomips calibration on the x86 when you get power
notifications. What you do on the PPC I dont know. I assume such throttling
is driven by the kernel ?

-
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/