* [cpufreq] ondemand works, conservative doesn't
@ 2005-07-23 21:25 Sven Köhler
2005-07-24 3:01 ` Alejandro Bonilla
0 siblings, 1 reply; 3+ messages in thread
From: Sven Köhler @ 2005-07-23 21:25 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 576 bytes --]
Hi,
currently, i'm using the ondemand governor. My CPU supports the
frequencies 800, 1800 and 2000 MHz (AMD Athlon64 Desktop with
Cool&Quiet). The simple bash commands
while true
do
true
done
cause 100% CPU usage, and the CPU immediatly switched from 800 to 2000MHz.
Using the conservative govenor, nothing happens. I would expect, that
the cpu switches to 1800 and than to 2000 Mhz after some seconds of full
CPU usage.
What's wrong?
My guess is, that the conservative govenor would need more frequencies
between 800 and 1800MHz to work properly.
Thx
Sven
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [cpufreq] ondemand works, conservative doesn't
2005-07-23 21:25 [cpufreq] ondemand works, conservative doesn't Sven Köhler
@ 2005-07-24 3:01 ` Alejandro Bonilla
2005-07-24 4:17 ` Sven Köhler
0 siblings, 1 reply; 3+ messages in thread
From: Alejandro Bonilla @ 2005-07-24 3:01 UTC (permalink / raw)
To: Sven Köhler; +Cc: linux-kernel
Sven Köhler wrote:
>Hi,
>
>currently, i'm using the ondemand governor. My CPU supports the
>frequencies 800, 1800 and 2000 MHz (AMD Athlon64 Desktop with
>Cool&Quiet). The simple bash commands
>
>
>
In my case, I have a Pentium M 1.8ghz 400 FSB. In powersave, it goes to
1.19ghz, in conservative, it goes to 1.20GHZ and of course performance
goes to 1.8ghz if plugged.
Conservative works well here, and so far, lt moved slowly from
frequencies, 1.2 then in 5 seconds 1.4, 2 seconds 1.8. Then it took the
CPU like 10 seconds to move back from 1.8ghz to 1.2..
Mine did reach the full cpu in a moment, yours looks like it not going
over 2.0ghz. Maybe is not needing that much CPU?
If it only supports 800, 1800 and 2000 MHz, then it will only jump to
those frequencies. I use the CPU Frequency Scaling Monitor included in
gnome to switch between these options a lot. Maybe you could play with
this a bit more and see how it behaves. It does look like it might need
more frequencies, but you would need to check what does you CPU support.
.Alejandro
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [cpufreq] ondemand works, conservative doesn't
2005-07-24 3:01 ` Alejandro Bonilla
@ 2005-07-24 4:17 ` Sven Köhler
0 siblings, 0 replies; 3+ messages in thread
From: Sven Köhler @ 2005-07-24 4:17 UTC (permalink / raw)
To: Alejandro Bonilla; +Cc: linux-kernel
>> currently, i'm using the ondemand governor. My CPU supports the
>> frequencies 800, 1800 and 2000 MHz (AMD Athlon64 Desktop with
>> Cool&Quiet). The simple bash commands
>>
>
> In my case, I have a Pentium M 1.8ghz 400 FSB. In powersave, it goes to
> 1.19ghz, in conservative, it goes to 1.20GHZ and of course performance
> goes to 1.8ghz if plugged.
>
> Conservative works well here, and so far, lt moved slowly from
> frequencies, 1.2 then in 5 seconds 1.4, 2 seconds 1.8. Then it took the
> CPU like 10 seconds to move back from 1.8ghz to 1.2..
Yes. Pentium M CPUs offer frequencies is 200MHz steps. And I was pretty
sure, that the conservative govenor works in that case.
> Mine did reach the full cpu in a moment, yours looks like it not going
> over 2.0ghz. Maybe is not needing that much CPU?
Running an "while true; do true; done" will result in process named
"bash" that uses 100% of the cpu. The problem i see is, that the
conservative govenor never considers to switch from 800MHz to 1800MHz
because it's a 1000MHz jump! (i'd consider that as a bug, since the
govenor is non-functional in such an environment)
> If it only supports 800, 1800 and 2000 MHz, then it will only jump to
> those frequencies. I use the CPU Frequency Scaling Monitor included in
> gnome to switch between these options a lot. Maybe you could play with
> this a bit more and see how it behaves. It does look like it might need
> more frequencies, but you would need to check what does you CPU support.
I would be very glad, if the conservative-govenor would switch to the
three frequencies i listet. The problem is: it doesn't.
AFAIK, AMD Desktop CPUs really support 3 frequencies only :-(
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-24 4:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-23 21:25 [cpufreq] ondemand works, conservative doesn't Sven Köhler
2005-07-24 3:01 ` Alejandro Bonilla
2005-07-24 4:17 ` Sven Köhler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox