CPU Frequency Monitor Question
Sebastian M=?ISO-8859-1?B?/A==?=sch
sebastian at sebastian-muesch.de
Sat Feb 19 12:35:48 UTC 2005
Hi,
Jonathan Lim wrote:
> Interesting. I went with powernowd as it came with a default install.
> Does cpufreqd offer some benefit?
There are differences indeed.
powernowd:
- powernowd imho ignores apm/acpi/pmu, so there's no way for throttling
based on battery state.
- dynamic increment/decrement Core-Frequency in steps of xxx kHz if CPU
supports this. There are four ways, powernowd changes the frequency,
depending on the params given to the daemon on startup:
1. CPU is running at a specific core-frequency, if the cpu-load reaches 80%
then powernowd increases the core-frequency in steps of 100 MHz until the
cpu-load is under 80%.
2. Decreasing the speed works the other way round like 1 if cpu-load is
under 20%.
3. CPU is running at a specific core-frequency, if the cpu-load reaches 80%
then powernowd increases the core-frequency to the maximumin frequency
available and then decreases the frequency in steps of 100 MHz until
cpu-load is greater than 20 %.
4. Decreasing works the other way round like 3.
- Mode0 (SINE): Way 1 for incresing, way 2 for decreasing.
- Mode1 (AGGRESSIVE): Way 3 for incresing, way 2 for decreasing.
- Mode2 (PASSIVE): Way 1 for incresing, way 4 for decreasing.
- Mode3 (LEAPS): Way 3 for incresing, way 4 for decreasing.
cpufreqd:
frequency change based on cpu-load and powerstate (ac, battery) and
loadstate of the battery (apm/acpi/pmu). The cpu-states are hard defined in
profiles. The default profiles are hi-ac, lo-ac, hi-no_ac, lo-no_ac, where
hi means high cpu-load, lo low cpu-load, ac powercord connected, no_ac
working on battery.
If system is running on lo-ac and cpu-load reaches 80% then it switches to
hi-ac. If powercord is removed it switches to lo-no_ac. And so on.
Furthermore cpufreqd has the ability to change some more options for the cpu
like NAP on PPC-G4 which helps to save even more battery.
cu
Sebastian
--
.:'
_ :'_
.`_`-'_`. Sebastian Müsch
:__|\ /|__: sebastian at sebastian-muesch.de
:__| S |__:
:__| |__: iTunes ist aus :-(
`._.-._.'
More information about the ubuntu-users
mailing list