You are not logged in.

#1 2011-06-18 23:00:18

normal2
Member
Registered: 2010-04-03
Posts: 43
Website

[SOLVED] Adding "cpufreq_ondemand" to rc.conf has no impact.

I'm on Turion M520 with 2 cores capable of running @ 800 MHz at no CPU load. I added "powernow-k8" and "cpufreq_ondemand", but saw no impact on the frequency.
After installing "trayfreq" from AUR, cores successfully scale frequencies. As to find the problem, I assumed "trayfreq" does something which "cpufreq_ondemand" does not.

Indeed,

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

in the Terminal (xfce) outputs "ondemand"

whilst executing the same in the shell outputs "performance".

I figured

echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

would do the trick, but I get "Permission denied", even as root.

Just curious, thanks!

Last edited by normal2 (2011-06-18 23:38:16)


Implode.

Offline

#2 2011-06-18 23:19:55

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] Adding "cpufreq_ondemand" to rc.conf has no impact.

Did you set ondemand in /etc/conf.d/cpufreq and add cpufreq to daemons (Wiki)?

Offline

#3 2011-06-18 23:26:22

normal2
Member
Registered: 2010-04-03
Posts: 43
Website

Re: [SOLVED] Adding "cpufreq_ondemand" to rc.conf has no impact.

I didn't think it was necessary, given the fact that "cpufreq_ondemand" should do the trick. It would be pointless to add it in the first place.
I will look into it.


Implode.

Offline

#4 2011-06-18 23:31:47

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Re: [SOLVED] Adding "cpufreq_ondemand" to rc.conf has no impact.

I confirm that you must add  "cpufreq_ondemand" in  /etc/conf.d/cpufreq

Offline

#5 2011-06-18 23:37:42

normal2
Member
Registered: 2010-04-03
Posts: 43
Website

Re: [SOLVED] Adding "cpufreq_ondemand" to rc.conf has no impact.

@hokasch: Editing /etc/conf.d/cpufreq and adding @cpufreq solved my problem, thanks.

The question regarding "cpufreq_ondemand" module is not aswered though. I'll mark this as solved anyway.


Implode.

Offline

#6 2011-06-18 23:52:42

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] Adding "cpufreq_ondemand" to rc.conf has no impact.

I didn't think it was necessary, given the fact that "cpufreq_ondemand" should do the trick. It would be pointless to add it in the first place.

Wiki once more:
https://wiki.archlinux.org/index.php/CP … figuration

It might not be the most intuitive way to run things, but any governors you plan to use (apart from performance) have to be loaded as modules first before they can be set by the daemon or other tools.

Last edited by hokasch (2011-06-18 23:54:06)

Offline

#7 2011-06-19 00:01:17

normal2
Member
Registered: 2010-04-03
Posts: 43
Website

Re: [SOLVED] Adding "cpufreq_ondemand" to rc.conf has no impact.

hokasch wrote:

It might not be the most intuitive way to run things, but any governors you plan to use (apart from performance) have to be loaded as modules first before they can be set by the daemon or other tools.

Thank you for clearing that up for me, since wiki in not obligated to deliver the reason behind this proccess to someone of my qualifications. For experienced, by experienced smile

Last edited by normal2 (2011-06-19 00:02:05)


Implode.

Offline

Board footer

Powered by FluxBB