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

From: Arjan van de Ven
Date: Wed Jun 11 2008 - 12:32:57 EST


On Wed, 11 Jun 2008 09:08:40 -0700
"Ray Lee" <ray-lk@xxxxxxxxxxxxx> wrote:

> On Wed, Jun 11, 2008 at 6:36 AM, Arjan van de Ven
> <arjan@xxxxxxxxxxxxx> wrote:
> > CPU frequency is...
> > 1) not something that is fixed; it changes all the time
>
> Not necessarily true of setups where jackd is running.

in case you didn't realize, your cpu itself will change it's frequency
under you, even if you don't use things like ondemand cpufreq governor.
(Intel calls this "Intel Dynamic Acceleration technology", and it's
already in all current Intel based laptops)


> Again, that won't be happening when jackd is running.
>
> > Userland apps that use "cpu frequency" seem to be buggy to me, at
> > least I don't believe that they understand the complexities about
> > what this means,
>
> It doesn't appear you understand what jackd is and what lengths users
> will go to to configure their systems for running it smoothly and
> reliably.

I understand that jackd tries to squeeze the last bit out of things.
But really, the cpu frequency doesn't fit into that because it's
dynamic.

>
> > and I don't believe that the decisions they make based on
> > this will be made correctly.
>
> Please go read the jackd designs slides from the 2003 presentation on
> the jack website [1]. The author has a clue, and is quite aware of how
> computers work

I read this now; I don't see anything about using the CPU frequency in
there.....


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