Re: PROBLEM: no cpu MHz in /proc/cpuinfo on 2.6.25.4-rt6

From: Arjan van de Ven
Date: Wed Jun 11 2008 - 09:58:31 EST


On Wed, 11 Jun 2008 15:52:57 +0200 (CEST)
Jan Engelhardt <jengelh@xxxxxxxxxx> wrote:

>
> On Wednesday 2008-06-11 15:36, Arjan van de Ven wrote:
> >> >> btw this is scary; the Mhz line in /proc/cpuinfo doesn't have
> >> >> much meaning really, so applications using it and depending on
> >> >> it is a rather big disaster ;-(
> >> >>
> >> >> Does anyone know why jackd wants to use this?
> >>
> >> It would be nice to have a /sys file where the CPU frequency is in,
> >
> >may I ask why? What would you do with it?
>
> Off the top off the head, just for reporting to the user. Desklets
> and stuff.

even then it doesn't mean much ;-(

> >CPU frequency is...
> >1) not something that is fixed; it changes all the time
> >2) not a good indication for performance; remember the 3.4Ghz
> >pentium4, a 2Ghz Core2Duo outperforms it
> >3) something which the cpu itself barely honors (the clock stops
> >during idle etc etc)


--
If you want to reach me at my work email, use arjan@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/