Re: Wrong bogomips after plugging in AC power

Pavel Machek (pavel@suse.cz)
Sat, 30 Oct 1999 12:55:14 +0200


Hi!

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

But: that would make correctness of kernel dependend on
CONFIG_APM. That does not seem right. Also, bogomips recalibration is
quite slow.
Pavel

-- 
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel.  Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

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