You are not logged in.

#1 2008-12-27 13:02:43

awesome_welles
Member
Registered: 2008-12-12
Posts: 25

cpufreq

I've read and followed these two wiki pages:

http://wiki.archlinux.org/index.php/CPU … cy_Scaling

and

http://wiki.archlinux.org/index.php/Cpufreq

but I was just wondering whether I need to load the modules if I already have daemon running. Right now this is what my modules and daemons lines look like:

MODULES=(powernow-k8 cpufreq_conservative cpufreq_powersave r8169 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
DAEMONS=(syslog-ng hal netfs crond wicd fam alsa cpufreq)

Can I remove the cpufreq modules (how about the powernow-k8 also, is that vital)? I haven't rebooted yet but I will in a minute to see if everything works.

Offline

#2 2008-12-27 13:07:52

thunderogg
Member
From: Rio de Janeiro
Registered: 2008-07-13
Posts: 172

Re: cpufreq

I have "powernow-k8 cpufreq_ondemand cpufreq_powersave cpufreq_userspace" in /etc/rc.conf MODULES. But I don't have "cpufreq" in DEAMONS, and it works nicely.

Offline

#3 2008-12-27 13:28:37

awesome_welles
Member
Registered: 2008-12-12
Posts: 25

Re: cpufreq

Ok, I rebooted and it seems to do the job with the lines I posted. So do you know if the modules are needed if you have the daemon? It seems that the daemon isn't required if the modules are loaded (as your setup shows). But how does it work on your machine, does it use the userspace or ondemand governor? also what is the powersave module? Well i'll keep looking around for info anyway and if I find any I guess I'll post it here.

Anyway thanks for the quick reply thunderogg

Offline

#4 2008-12-27 13:34:59

thunderogg
Member
From: Rio de Janeiro
Registered: 2008-07-13
Posts: 172

Re: cpufreq

I don't remember which governor is set by default. I put "cpufreq-set -g ondemand" in my /etc/rc.local just to make sure it sets ondemand. smile
Powersave always keeps the lowest frequency to save power.

Offline

#5 2008-12-27 14:20:11

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: cpufreq

The daemon just sets your preferred governor at startup, which is defined in '/etc/conf.d/cpufreq'.

thunderogg has basically done exactly the same thing manually, by putting that commandin his rc.local.

So unless you do it like thunderogg, you need both the modules and daemon to set your desired governor.  You can check the current governor to make sure it is the one you want with 'cpufreq-info'.

Offline

#6 2008-12-27 14:27:08

thunderogg
Member
From: Rio de Janeiro
Registered: 2008-07-13
Posts: 172

Re: cpufreq

Hm, didn't know that. smile Thanks for enlightening me.

Offline

#7 2008-12-27 15:19:44

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: cpufreq

thunderogg wrote:

I don't remember which governor is set by default. I put "cpufreq-set -g ondemand" in my /etc/rc.local just to make sure it sets ondemand. smile
Powersave always keeps the lowest frequency to save power.

As far as I know the default governor set by the kernel is the performance one, and to load the ondemand one you still need to load the module, no matter how you do it.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB