Re: PowerNow!, cpufreq, and swsusp

Dave Jones (davej@codemonkey.org.uk)
Wed, 12 Mar 2003 17:40:01 -0100


On Wed, Mar 12, 2003 at 12:06:33PM -0500, Christopher Meredith wrote:

> Also, cpufreq doesn't seem to do anything. Should it be
> working automatically?

no.

> Even when the machine sits unattended
> for over 8 hours, the fan never turns off and the cpu
> temperature is consustently 69-70 degrees C.

The kernel doesn't define policy, but exposes the necessary
interface to userspace. There are a few folks working on
tools / scripts to adjust the speed dynamically.
look through the cpufreq mailing list archives to find them
(or google)

> What must I do here?

Read Documentation/cpu-freq/user-guide.txt

short: mount sysfs, and ..

(root@evo:cpufreq)# cd /sys/class/cpu/cpufreq/cpu0/cpufreq
(root@evo:cpufreq)# cat /proc/cpuinfo | grep MHz
cpu MHz : 1390.536
(root@evo:cpufreq)# echo powersave >scaling_governor
(root@evo:cpufreq)# cat /proc/cpuinfo | grep MHz
cpu MHz : 529.728
(root@evo:cpufreq)# echo performance >scaling_governor

Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/