cpudyn is a KISS (Keep
It Simple, Stupid) utility designed to save laptop –and desktop–
computers power and heat. The latest cpudyn version works fine with
SuSE (see
changelog).
– New 0.99.0 version
– SuSE 9.0 update: Is necessary to remove the cpufreqd package installed by default.
I’ve seen cpudyn installation problems in a couple of mailing lists
–in Majorca we count
“one, two and a couple” 😉 Here how to install cpudyn in one
Pentium 4 M laptop with SuSE 8.2 (and probably SuSE 9.0):
cpudyn latest version (0.99.0, 13-Feb-2004)
from the official site
and
decompress the file (my ~/tmp/
directory is used in this page examples, change “benjami” to your user
name):
benjami@codol:~> cd tmp
benjami@codol:~/tmp> wget
http://mnm.uib.es/~gallir/cpudyn/download/cpudyn-0.99.0.tgz
benjami@codol:~/tmp> tar zxvf cpudyn-0.99.0.tgz
install:
benjami@codol:~/tmp> su –
Password:
codol:~ # cd
/home/benjami/tmp/cpudyn/
(this is a copy&paste: of course, you should change the “benjami” with your user name)
codol:/home/benjami/tmp/cpudyn
# make install
codol:/home/benjami/tmp/cpudyn
# /etc/init.d/cpudyn start
working. One simptom that you don’t have the module is that /proc/cpufreq file is empty:
codol:/home/benjami/tmp/cpudyn
# cat /proc/cpufreq
minimum CPU frequency – maximum CPU frequency –
policy
codol:/home/benjami/tmp/cpudyn #
processor. Probe it:
codol:/home/benjami/tmp/cpudyn
# modprobe p4-clockmod
If you no receive any error, the module is working and you can see it
with lsmod:
codol:/home/benjami/tmp/cpudyn
# lsmod | grep p4-clockmod
p4-clockmod
1488 0 (unused)
freq_table
1376 0 [p4-clockmod]
codol:/home/benjami/tmp/cpudyn
# exit
logout
benjami@codol:~/tmp> cat
/proc/cpufreq
minimum CPU frequency – maximum CPU frequency –
policy
CPU
0 149519 kHz ( 12 %)
– 1196153 kHz (100 %) – performance
… when the chip is in perfomance mode, and when is powersaving …
benjami@codol:~/tmp> cat
/proc/cpufreq
minimum CPU frequency – maximum CPU frequency –
policy
CPU
0 149519 kHz ( 12 %)
– 1196153 kHz (100 %) – powersave
watch is great to
constantly see this file contents:
benjami@codol:~/tmp> watch
-n 1 cat /proc/cpufreq
in order to load the p4-clockmod
module and cpudyn daemon at startup. YasT2
allows to change the cpudyn
parameters too:
1: Load p4-clockmod module on
startup.
Go to YaST2 Control Center >
System > Editor
for /etc/sysconfig Files. Now select System > Kernel >
MODULES_LOADED_ON_BOOT in the left tree. Add p4-clockmod to the existing list.
2: Start cpudyn daemon on startup.
Go to YaST2 Control Center >
System > Runlevel
Editor. Click Runlevel
properties button. Search cpudyn in the list. Select 3 i 5
in the Service will be started in
following runlevels section, and clic the Finish button.
3: Change cpudyn parameters.
Go to YaST2 Control Center >
System > Editor
for /etc/sysconfig Files. Now
select Other > etc > sysconfig > cpudyn > OPTS in
the left tree. To see all of the parameter possibilities, run man cpudynd or read the official homepage
examples and FAQ section.
Other modules
I only know those modules (and I’m not sure, feedback wanted 🙂 that
you should use to replace p4-clockmod as
mentioned in this article:
- Centrino: speedstep_ICH or speedstep_smi («I’m not sure», says the post author)
- Pentium III: freq_table
and speedstep - AMD: powernow-k6,
powernow-k7 and powermate - AMD Athlon Mobile: powernow-k7
Este post ha sido traido de forma automatica desde https://web.archive.org/web/20140625063149/http:/bulma.net/body.phtml?nIdNoticia=1946 por un robot nigromante, si crees que puede mejorarse, por favor, contactanos.