[Grml] Re: Controlling CPU Frequency
Michael Prokop
mika at grml.org
Thu Aug 2 09:58:25 CEST 2007
* - Tong - <mlist4suntong at yahoo.com> [20070801 06:15]:
> On Tue, 31 Jul 2007 08:47:32 +0200, Michael Prokop wrote:
> > To check your current settings regarding cpu frequency scaling check
> > output of 'cpufreq-info'...
> % cpufreq-info
> cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
> Report errors and bugs to linux at brodo.de, please.
> analyzing CPU 0:
> no or unknown cpufreq driver is active on this CPU
Ok, so you don't have any drivers loaded.
> ,-----
> | If cpufreq quits with an error message, you should first re-check that you
> | have the correct cpufreq driver.
> `-----
> So, what cpufreq driver should I use?
See below.
> > Is the 'thermal' kernel module loaded on your system?
> % insmod thermal
> insmod: can't read 'thermal': No such file or directory
# modprobe thermal
> $ dmesg | grep ^CPU0
> CPU0: AMD Athlon(tm) 64 Processor 2800+ stepping 0a
> ,-----
> | If you intend to use a kernel compiled with these features, you should use
> | dmesg | grep cpufreq to check if the kernel was able to initialize the
> | feature.
> `-----
> % dmesg | grep cpufreq || echo no found
> no found
Sure, because no appropriate driver is loaded.
> $ uname -rm
> 2.6.20-grml i686
> > Check CPU
> > temperature using tools like sensors/mbmon (depending of your
> > hardware whether what's supported of course).
> How would I know if my hardware is supported or not?
What does:
source /usr/bin/cpufreq-detect.sh
echo $MODULE
report on your system? Try to load the $MODULE via 'modprobe
$MODULE' then, does cpufreq-info report anything then?
> BTW, anybody know the 'conservative' governor?
Yes. ;) But I usually prefer the ondemand governor.
Check /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
for current settings as soon as cpufreq is working.
regards,
-mika-
--
http://grml.org/ # Linux for texttool-users and sysadmins
http://wiki.grml.org/ # share your knowledge
http://grml.supersized.org/ # the grml development weblog
#grml @ irc.freenode.org # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.mur.at/pipermail/grml/attachments/20070802/0316bac9/attachment-0002.pgp
More information about the Grml
mailing list