Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cpufreq conservative policy stuck at static frequency
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
aka.doode
n00b
n00b


Joined: 16 May 2005
Posts: 45
Location: Sweden

PostPosted: Sat Aug 09, 2008 1:24 am    Post subject: cpufreq conservative policy stuck at static frequency Reply with quote

I've read just about every gentoo (and some other distro's) HOWTO,FAQ, wiki and forum thread as well as quite a few google hits regarding cpufreq, and I'm nowhere near a solution.
I've got an Athlon 64 X2 4850e, and have as far as I can tell all the necessary stuff enabled in the kernel (which is 2.6.25-r7).
'Dmesg | grep powernow' tells me my CPU has 6 possible frequencies for PowerNow.

Code:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver: powernow-k8
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor: conservative
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq: 1000000


My problem is that the frequency never rises. Well, I've only tried having my CPU at 100% for a minute or so, but that should be far more than enough.
It's higher when I've rebooted, but I guess it's because cpufreq hasn't lowered it enough yet, and once it does, it never rises.

Any suggestions? :(
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Sat Aug 09, 2008 2:17 am    Post subject: Reply with quote

I'm pretty sure the "ondemand" governor is the one you want for this rather than conservative.

And feel free to play around with "/sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold" to get the behaviour you desire.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
aka.doode
n00b
n00b


Joined: 16 May 2005
Posts: 45
Location: Sweden

PostPosted: Sat Aug 09, 2008 4:43 am    Post subject: Reply with quote

Hopeless wrote:
I'm pretty sure the "ondemand" governor is the one you want for this rather than conservative.

Actually, no, I do want the conservative one :)

Quote:
And feel free to play around with "/sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold" to get the behaviour you desire.

Like I said in my first post, I've had my CPU at 100% load for about a minute with no change. And:
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/conservative/up_threshold: 80
Back to top
View user's profile Send private message
aka.doode
n00b
n00b


Joined: 16 May 2005
Posts: 45
Location: Sweden

PostPosted: Sun Aug 10, 2008 1:13 am    Post subject: Reply with quote

I've done some more tests recently.
It seems the conservative governor does work, but it took 2 full minutes (give or take a few seconds) at 100% CPU load before it began scaling the frequency up.

Am I missing some "wait for 'x' seconds at sufficient CPU load before starting to change frequency" setting somewhere? Google isn't being nice to me...
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