CPU Scaling in Gutsy
I recently upgraded to Kubuntu Gutsy from Feisty and CPU scaling no longer works. I have a Pentium M 1.60 gHz processor on a Dell 9300 laptop and it's currently stuck at 800 mHz at all times. Speedstep is enabled in the BIOS and I've tried manually editing the scaling files, following numerous CPU scaling HOWTOS, loading/unloading modules by hand, and cpufrequtils... nada. The min and max freq are the same, no matter what I do.
This seems to be an often posted problem, but I've yet to find anything that works to solve it. I know this is a known bug in the Gutsy kernel, but has anyone found a workaround? Some people ound a temporary solution which only works until the next reboot, but even I haven't had that much success. Will rolling back to an older kernel fix this until a solution is found, or just muck me up further? $ cpufreq-info: Code:
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006 Code:
# /etc/modules: kernel modules to load at boot time. Code:
Module Size Used by [ Would have posted but I reached the posting char limit. If needed, will post follow-up ] |
can you post me:
$ sudo cat /sys/devices/cpu/cpu0/cpufreq/scaling_governor $ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors |
$ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ondemand $ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors userspace powersave ondemand conservative performance |
UPDATE: Nothing's fixed, but I found that it's not a kernel bug like I had thought. I rolled back to 2.6.20-15, the one I used prior to upgrade, and still no scaling.
|
I'm running Gutsy 2.6.22-14 kernel. This works for me (at least temporarily) - it won't normally let me write to anything in the /sys/devices/system/cpu/cpu0/cpufreq path unless I'm *actually* root, not just 'sudo'. I have a 2GHz T7300 Centrino Duo, which 'ondemand' likes to run at 800MHz most of the time!
user@localhost> cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq 800000 user@localhost> cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand Trying to set scaling_governor (also applies to scaling_setspeed): user@localhost> sudo echo "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor bash: scaling_setspeed: Permission denied When root: user@localhost> sudo su - #root@localhost> echo "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor #root@localhost> cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor userspace Then I can happily set the CPU frequency: #root@localhost> echo "2000000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed #root@localhost> cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed 2000000 The CPU Frequency Monitor widget in my Application Panel under Gnome now tells me I'm running at a constant 2GHz, and obviously checking the scaling_cur_freq tells me that as well. This is really useful when running Virtual Machines, because if I run under 'ondemand' scaling, I get a very fast clock in the host VM due to difference in expected and actual CPU clock speed. |
cpu governor
Hi, I've a turion X2 , when I set "conservative" governor my cpu runs at 800 Mhz (forever) and when I set "ondemand" it runs at 1600 Mhz (forever). I simply I don't know why..(noob :-) )
|
All times are GMT -5. The time now is 04:30 PM. |