[lkml]   [2003]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PowerNow!, cpufreq, and swsusp
On Wed, 12 Mar 2003 17:40:01 -0100
Dave Jones <> wrote:

> 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

All right, it seems that for me, these things reside in /sys/devices/sys/cpu0:
root@Judea:/sys/devices/sys/cpu0# ls
available_scaling_governors name scaling_governor
cpuinfo_max_freq power scaling_max_freq
cpuinfo_min_freq scaling_driver scaling_min_freq

At any rate, 'cat available_scaling_governors' gives this:
performance powersave

If I 'echo powersave > scaling_governor', the fan slows down and the processor registers at about 600+ MHz (down from 1500+). So far so good. But when I 'echo performance > scaling_governor', the entire system locks up and I have to hard reset. Am I still missing something here? Also, I had thought the purpose of this technology was to incrementally scale the clock speed depending upon what the computer was doing, this saving battery power. Is this correct? If so, how do I enable this?

Also, with regard to swsusp, after creating a swap partition and seemingly adding the 'resume' line to lilo.conf, whenever I do 'echo 4 > /proc/acpi/sleep', the computer ditches X and prints ACPI information on all consoles. This seems good at first, but no matter how long I let it sit, it doesn't ever suspend or try to do anything similar (that I can tell). Am I still doing something wrong?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.044 / U:2.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site