PDA

View Full Version : CPU scaling


khc
October 30th, 2004, 11:32 PM
According to the hardware support page cpu scaling is supported. but it doesn't work here. I have a 867MHz TiBook and it's always running at 667MHz

SyL
October 31st, 2004, 09:44 AM
The CPU speed various with the needs.

Look at : /sys/devices/system/cpu/cpu0/cpufreq
there is a lot of interessing information :

root@oZ:/sys/devices/system/cpu/cpu0/cpufreq # cat cpuinfo_max_freq
1333333
root@oZ:/sys/devices/system/cpu/cpu0/cpufreq # cat cpuinfo_min_freq
666666


So, the speed change automatically in function of needs. For check that works, try to run many greedy processes and cat /proc/cpuinfo

But you can control it yourself :
echo -n "1000000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
That will set it to 1 Ghz.


Hope that help

khc
October 31st, 2004, 04:39 PM
That's way cool, thanks!

TekMate
January 22nd, 2005, 10:59 PM
Is there a way to set this permently?

Viro
January 24th, 2005, 08:54 AM
Is there a way to set this permently?
Put that line in the file .gnomerc in your home directory.