Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOVLED]CPU Frequency not scaling
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Fri Nov 27, 2009 2:01 am    Post subject: [SOVLED]CPU Frequency not scaling Reply with quote

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
Code:
880000
but if I do
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
I get
Code:
2200000
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
View user's profile Send private message
Sade
Guru
Guru


Joined: 22 Mar 2005
Posts: 406
Location: Netherlands - Eindhoven

PostPosted: Sat Nov 28, 2009 10:23 am    Post subject: Reply with quote

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
View user's profile Send private message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Wed Dec 16, 2009 4:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum