You are not logged in.

#1 2011-09-26 21:59:51

bradomyn
Member
Registered: 2011-08-05
Posts: 15

[solved] cpufreq daemon doesn't load the governor that I set

Hi,

I don't know what it is wrong with my conf but I'm not able to load the governor that I want at boot-time.

According to the wiki I set:

rc.conf

MOD_AUTOLOAD="yes"
MODULES=(wl acpi-cpufreq cpufreq_ondemand cpufreq_powersave)

DAEMONS=(syslog-ng network netfs crond dbus net-profiles slim acpid  @cpufreq @dropboxd-userspace)

acpi-cpufreq .- Module for my cpu
cpufreq_ondemand cpufreq_powersave .- Scaling governors

and the  /etc/conf.d/cpufreq

#configuration for cpufreq control

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

and after every booting I get:

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 1000 MHz - 1.67 GHz
  available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz
  available cpufreq governors: powersave, ondemand, performance
  current policy: frequency should be within 1000 MHz and 1.67 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.67 GHz (asserted by call to hardware).
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 10.0 us.
  hardware limits: 1000 MHz - 1.67 GHz
  available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz
  available cpufreq governors: powersave, ondemand, performance
  current policy: frequency should be within 1000 MHz and 1.67 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.67 GHz (asserted by call to hardware).

that's it "performance" instead of "ondemand"


if I restart the daemon:
#/etc/rc.d/cpufreq restart

It seems to read the /etc/conf.d/cpufreq and set the governor to ondemand...

but why?? What's going on during booting?

I get a look at the rc.multi, since it starts the daemons in rc.conf and functions and looks ok. I mean I've touched these files so I guess are right, besides the others daemons are working at boot-time perfectly...

Any help would be appreciated!

Last edited by bradomyn (2011-09-26 22:21:54)

Offline

#2 2011-09-26 22:07:50

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: [solved] cpufreq daemon doesn't load the governor that I set

I have

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

for each of my cores in /etc/rc.local to set the governor during boot.

Cheers


You're just jealous because the voices only talk to me.

Offline

#3 2011-09-26 22:21:18

bradomyn
Member
Registered: 2011-08-05
Posts: 15

Re: [solved] cpufreq daemon doesn't load the governor that I set

working... thanks!

Offline

Board footer

Powered by FluxBB