I have found a serious bug with powersaved.
When switching from the dynamic mode, to the performance mode the cpu
frequency stays at its lowest setting. I have found that the solution
to this is to set the scaling_max_freq to the max that the cpu is
capable of *prior* to setting the governor back to performance. You
may have to set the governor to "userspace" prior to this setting.
What I have done in the past is used cpufreq-uitls as such:
#!/bin/bash
maxmhz=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
| gawk '{ print $1}'`
cpufreq-set -g ${ONAC_GOVERNOR} -u ${maxmhz}
I am sure there is a better way, but this seems to do the trick.
Unfortunately when I use this method along with powersaved my system
becomes very laggy and difficult to use. The only solution seems to be
to restart the computer.
My system specs:
Dell Latitude D610, Gentoo Linux, latest version of powersaved. using
default configuration of powersaved except for changing the
CPUFREQUENCY="performance" in the /etc/powersave/scheme_performance.
Septu ryder # uname -a
Linux Septu 2.6.16-suspend2-r4 #1 PREEMPT Sat Apr 22 10:35:21 PDT 2006
i686 Intel(R) Pentium(R) M processor 1.60GHz GNU/Linux
Septu ryder # cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.60GHz
stepping : 8
cpu MHz : 800.000
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe est tm2
bogomips : 1599.97
Septu ryder # cat /sys/devices/system/cpu/cpu0/cpufreq/*
0
800000
1600000
800000
1600000 1333000 1067000 800000
conservative ondemand powersave userspace performance
800000
centrino
performance
800000
800000
If any more information is needed just ask. beatryder at gmail dot com
--
-Ryan
_______________________________________________
powersave-devel mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/powersave-devel