Re: scaling cpu frequency on new ibook 2.2?
Florian Feigenbutz (florian.f@web.de) said:
> Hi, as I was checking some files in the /cat dir for fun some days ago
> I saw the following lines in "/proc/cpufreq":
>
> $ cat /proc/cpufreq
> minimum CPU frequency - maximum CPU frequency - policy
> CPU 0 400000 kHz ( 57 %) - 700000 kHz (100 %) - performance
>
> Does this mean that my G3 700MHz CPU is always running in performance
> mode no matter what I'm doing? Is there any possibility to change this
> setting to a kind of "battery" instead of "performance policy"?
Here's what I use in /etc/power/pwrctl-local on my 700 MHz ibook:
ac)
[ -f /proc/cpufreq ] && \
echo 400000:700000:performance > /proc/cpufreq
battery)
[ -f /proc/cpufreq ] && \
echo 400000:700000:powersave > /proc/cpufreq
It seems to work alright and cuts the mhz back to 400 in
/proc/cpuinfo...
You can echo stuff in other formats to cpufreq, but when I played with
it I ended up with 400MHz - 400MHz at one point, so I stopped playing
for fear of breaking something ;)
--
Adam Lazur, Cluster Monkey
Reply to: