Welcome, Guest. Please login or register.
April 24, 2014, 01:08:01 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Configuring Pardus
| | |-+  frequency scaling & kpowersave
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: frequency scaling & kpowersave  (Read 1051 times)
MitraMai
Pardus fellow craft
**
Gender: Male
Posts: 89


View Profile
« on: September 24, 2008, 10:40:03 AM »

Hello

As I have understood it, kpowersave is independent from acpi-cpufreq and speedstep-centrino. But can I set the frequency scaling to "conservative" and kpowersave takes that into consideration? And how do I set "conservative" to start upon boot? This is my /etc/modules.autoload.d/kernel-2.6:
Code:
# /etc/modules.autoload.d/kernel-2.6:  kernel modules to load when system boots.
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line.  Comments begin with # and
# are ignored.  Read man modules.autoload for additional details.

# For example:
# 3c59x
ndiswrapper
cpufreq_ondemand
cpufreq_powersave
cpufreq_userspace
cpufreq_conservative
speedstep_centrino

and my local.start:
Code:
# /etc/conf.d/local.start

# This is a good place to load any misc programs
# on startup ( use 1>&2 to hide output)
/etc/init.d/lm_sensors start
echo -n "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

But it does not work, it's always ondemand after boot...I have to change it manually to conservative. And when I go
Code:
lsmod | egrep "(speedstep|cpufreq)"
I get:
Code:
speedstep_centrino     11008  0
cpufreq_conservative    11528  1
cpufreq_userspace       8196  0
cpufreq_powersave       5760  0
Why isn't there any values on the speedstep_centrino module?

Edit: And this is my cpuinfo:
Code:
cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 9
model name      : Intel(R) Pentium(R) M processor 1600MHz
stepping        : 5
cpu MHz         : 600.000
cache size      : 1024 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe up bts est tm2
bogomips        : 1194.52
clflush size    : 64

I think it might have anytthing to do with the permissions on the scaling_governor to do. But I not quite sure what to change...
I appreciate all help on this! I have to admit I don't really know what I am doing here. In all the forums I have been looking in they talk about the cpufreq file in /etc/conf.d but I can't find it in Pardus...
« Last Edit: September 24, 2008, 14:42:25 PM by MitraMai » Logged

HP nc4010, which I love dearly...
Lisa
Pardus Guru
****
Posts: 841



View Profile
« Reply #1 on: September 28, 2008, 00:18:50 AM »

Hi,

I don't have that .conf file, either.  I don't have 'conservative'  listed in my file of scaling_available_governors, but I installed pardus on a desktop, so it's set to 'ondemand'.  as found under /sys/devices/system/cpu/cpu0/cpufreq

Did you read this?

http://www.thinkwiki.org/wiki/How_to_make_use_of_Dynamic_Frequency_Scaling

Regards,
Lisa Marie
Logged
jnmbk
Pardus Developer
Pardus Master
*****
Posts: 174


View Profile
« Reply #2 on: September 28, 2008, 07:06:27 AM »

Hi,

If you want to use conservative instead of ondemand, add cpufreq_ondemand and cpufreq_userspace lines in any file in /etc/hotplug/blacklist.d/

Then, add cpufreq_conservative in /etc/modules.autoload.d/kernel-2.6

Speedstep is different from frequency scaling. It's bad in my opinion because it doesn't scale frequency, instead it scales CPU usage and that doesn't make such a good power saving. Btw, kpowersave doesn't handle speedstep AFAIK.
Logged
MitraMai
Pardus fellow craft
**
Gender: Male
Posts: 89


View Profile
« Reply #3 on: September 29, 2008, 16:07:21 PM »

It does not seem to work. I have blacklisted cpufreq_ondemand and cpufreq_userspace in the file slmodem (which was the only one) in /etc/hotplug/blackllist.d/ and cpufreq_conservative in /etc/modules.autoload.d/kernel-2.6. But cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor shows only ondemand!

Should I create a new file in /etc/hotplug/blacklist.d and add the blacklisted modules there?

Maybe I should add that I do not use Speedstep_centrino since you, jnmbk, don't recommend it. I use apci_cpufreq.
« Last Edit: September 29, 2008, 16:09:05 PM by MitraMai » Logged

HP nc4010, which I love dearly...
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!