[ltp] cpu MHz & TP-T30 & FC3

Satish Balay linux-thinkpad@linux-thinkpad.org
Fri, 14 Jan 2005 11:23:27 -0600 (CST)


On Fri, 14 Jan 2005, morpheus wrote:

> If you really want maximum CPU speed all the time, you can change the
> governor to "performance".
> # echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
> Then if you
> cat /proc/cpuinfo
> It should be at maximum.  However, as Christopher says, there's no need
> to run at maximum since cpuspeed will automatically give you the cpu
> power that you need according to load.
> To return to speed-stepping, type:
> # echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Or one could:

killall -SIGUSR1 cupspeed  #for max speed
killall -SIGUSR2 cpuseepd  #for min speed

Perhaps this can be added to APM/ACPI scripts - which detect the 'AC'
events.

Satish