View previous topic :: View next topic |
Author |
Message |
aka.doode n00b
Joined: 16 May 2005 Posts: 45 Location: Sweden
|
Posted: Sat Aug 09, 2008 1:24 am Post subject: cpufreq conservative policy stuck at static frequency |
|
|
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 |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Sat Aug 09, 2008 2:17 am Post subject: |
|
|
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 |
|
|
aka.doode n00b
Joined: 16 May 2005 Posts: 45 Location: Sweden
|
Posted: Sat Aug 09, 2008 4:43 am Post subject: |
|
|
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 |
|
|
aka.doode n00b
Joined: 16 May 2005 Posts: 45 Location: Sweden
|
Posted: Sun Aug 10, 2008 1:13 am Post subject: |
|
|
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 |
|
|
|