View previous topic :: View next topic |
Author |
Message |
dreadlorde Apprentice
Joined: 16 Dec 2008 Posts: 243 Location: /adm/timezone/US_Michigan
|
Posted: Fri Nov 27, 2009 2:01 am Post subject: [SOVLED]CPU Frequency not scaling |
|
|
Ever since I upgraded my kernel to 2.6.31.5, the cpu frequency doesn't scale well. I'm using sources from kernel.org along with the realtime patch, reiser4 patch and the tuxonice patch. Most of the time the cpu is at 825MHz which is fine, but when I do `emerge -uDN @world` or anything that requires a lot of cpu power, it will either stay at the same frequency or scale back to 550MHz or even 275MHz. I've tried to change the frequency with cpufreq-utils, but it does nothing.
If I do Code: | cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq | it returns but if I do Code: | cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq | I get And doing Code: | /cat /sys/devices/system/cpu/cpu0/scaling_available_frequencies | I get Code: | 275000 550000 825000 1100000 1375000 1650000 1925000 2200000 |
This is my .config for 2.6.29.6, this is the .config I'm using with 2.6.31.5 and here is a diff of the two.
Anyone know what's wrong? _________________ Ludwig von Mises Institute Quote: | I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead. |
Last edited by dreadlorde on Wed Dec 16, 2009 4:10 pm; edited 1 time in total |
|
Back to top |
|
|
Sade Guru
Joined: 22 Mar 2005 Posts: 406 Location: Netherlands - Eindhoven
|
Posted: Sat Nov 28, 2009 10:23 am Post subject: |
|
|
I see that you use the ondemand governor, which has some bugs in the 2.6.31 kernel, i had similar problems and therefore switched to the conservative governor (cpufreq-set -g conservative) _________________ | 1.6Ghz atom N270 | adopt an unanswerd post | a nice way to post a config file | |
|
Back to top |
|
|
dreadlorde Apprentice
Joined: 16 Dec 2008 Posts: 243 Location: /adm/timezone/US_Michigan
|
Posted: Wed Dec 16, 2009 4:10 pm Post subject: |
|
|
Fixed the problem by emerging cpufreqd after reading the Gentoo Power Management Guide. _________________ Ludwig von Mises Institute Quote: | I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead. |
|
|
Back to top |
|
|
|