You are not logged in.

#1 2007-06-05 21:38:05

eppa
Member
Registered: 2007-03-28
Posts: 8

questions about cpufreq and powersave

i have a couple of questions regarding CPUFREQ and POWERSAVED.Which im trying to set up on my laptop.

what are the correct modules for Intel M Processors for powersave and cpusave? 

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Celeron(R) M processor         1.50GHz
stepping        : 8
cpu MHz         : 1495.813
cache size      : 1024 KB
# The powersaved startscript will load this module for CPU frequency
# scaling support. If nothing is specified here, the most common cpufreq
# modules will be tried. Entering the correct module will reduce the
# warnings in syslog during boot and probably speed up booting a bit.
CPUFREQD_MODULE=""

this is the module i need for my CPU...also im wondering which CPU govenor is the best or people recomend. I set it to ondemand as a start.

#  If set to userspace, the powersave daemon itself will check
#  for CPU load and adjust the frequency approriate.
#  If set to kernel, the frequency will be adjusted by kernel
#  CPU frequency governors. These are by default
#  (kernel module - governor/powersave policy):
#  ondemand/dynamic, powersave/powersave, performance/performance
CPUFREQ_CONTROL="ondemand"

Offline

#2 2007-06-06 00:55:17

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: questions about cpufreq and powersave

So, for the module, I think you should try the 'acpi-cpufreq' module. 

My favorite governor is the 'conservative' one.  Under load, it will ramp up the frequency, but it will generally keep it as low as possible.

Offline

#3 2007-06-06 10:20:12

eppa
Member
Registered: 2007-03-28
Posts: 8

Re: questions about cpufreq and powersave

ok... so i tried. ajusting the settings abit... i will post the changes. However when i run cpufreq and powersaved it gives me errors.

[root@myhost root]# /etc/rc.d/cpufreq start
:: Setting cpufreq governing rules                                                  [BUSY] 
wrong, unknown or unhandled CPU?                                              [DONE]
[root@myhost root]# /etc/rc.d/powersaved start
:: Starting D-BUS system messagebus                                                 [DONE]
:: Starting Hardware Abstraction Layer                                              [DONE]
Cannot load cpufreq governors - No cpufreq driver available
:: Starting Powersave Daemon                                                        [DONE]

/etc/conf.d/cpufreq

#configuration for cpufreq control

# valid governors:
#  ondemand, performance, powersave,
#  conservative, userspace
governor="conservative"

# valid suffixes: Hz, kHz (default), MHz, GHz, THz
min_freq="1.0GHz"
max_freq="1.5GHz"

and in /etc/powersave/cpufreq
CPUFREQD_MODULE="acpi-cpufreq" (as suggjested?)
CPUFREQ_CONTROL="conservative"

Last edited by eppa (2007-06-06 10:21:34)

Offline

#4 2007-06-06 12:36:52

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: questions about cpufreq and powersave

What happens if you run, as root:

modprobe acpi-cpufreq

?

Offline

#5 2007-06-06 12:53:33

eppa
Member
Registered: 2007-03-28
Posts: 8

Re: questions about cpufreq and powersave

[root@myhost root]# modprobe acpi-cpufreq
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.21-ARCH/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device

Last edited by eppa (2007-06-06 12:55:09)

Offline

#6 2007-06-06 14:32:43

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: questions about cpufreq and powersave

After doing some googleing, it seems that you may not be able to scale the frequency on your processor.  Just to make sure I didn't read it wrong, try typing the following command as root:

modprobe speedstep-centrino

If that dosn't work, I don't think you'll be able to scale your processor.

Offline

#7 2007-06-06 16:02:09

jerem
Member
From: France
Registered: 2005-01-15
Posts: 310

Re: questions about cpufreq and powersave

The preferred module was speedstep-centrino until some recent kernel release, which has deprecated the use of that
module in favor of acpi-cpufreq.

I own such a processor, and the modules I use are :
cpufreq_userspace
cpufreq_conservative
acpi-cpufreq

Offline

Board footer

Powered by FluxBB