Casey Bralla on 24 Oct 2014 17:19:17 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Question about cpufreqd


I built a new low-power AMD server recently.   I loaded Debian stable and then 
installed the cpufreq utils.    They seem to be working, but I'm getting some 
error messages in syslog that I think I understand, but don't know how to 
prevent.

Here's the output of cpufreq-info

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: powernow-k8
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 8.0 us.
  hardware limits: 800 MHz - 2.05 GHz
  available frequency steps: 2.05 GHz, 1.85 GHz, 1.65 GHz, 1.40 GHz, 1.20 GHz, 
1000 MHz, 800 MHz
  available cpufreq governors: conservative, powersave, userspace, ondemand, 
performance
  current policy: frequency should be within 800 MHz and 2.05 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 2.05 GHz:10.08%, 1.85 GHz:0.08%, 1.65 GHz:0.22%, 1.40 
GHz:0.18%, 1.20 GHz:0.21%, 1000 MHz:0.26%, 800 MHz:88.98%  (11134526)
analyzing CPU 1:
  driver: powernow-k8
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 8.0 us.
  hardware limits: 800 MHz - 2.05 GHz
  available frequency steps: 2.05 GHz, 1.85 GHz, 1.65 GHz, 1.40 GHz, 1.20 GHz, 
1000 MHz, 800 MHz
  available cpufreq governors: conservative, powersave, userspace, ondemand, 
performance
  current policy: frequency should be within 800 MHz and 2.05 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 2.05 GHz:13.44%, 1.85 GHz:0.11%, 1.65 GHz:0.19%, 1.40 
GHz:0.21%, 1.20 GHz:0.30%, 1000 MHz:0.43%, 800 MHz:85.33%  (10051899)
analyzing CPU 2:
  driver: powernow-k8
  CPUs which run at the same hardware frequency: 2
  CPUs which need to have their frequency coordinated by software: 2
  maximum transition latency: 8.0 us.
  hardware limits: 800 MHz - 2.05 GHz
  available frequency steps: 2.05 GHz, 1.85 GHz, 1.65 GHz, 1.40 GHz, 1.20 GHz, 
1000 MHz, 800 MHz
  available cpufreq governors: conservative, powersave, userspace, ondemand, 
performance
  current policy: frequency should be within 800 MHz and 2.05 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 2.05 GHz:13.19%, 1.85 GHz:0.11%, 1.65 GHz:0.18%, 1.40 
GHz:0.21%, 1.20 GHz:0.31%, 1000 MHz:0.43%, 800 MHz:85.57%  (10137925)
analyzing CPU 3:
  driver: powernow-k8
  CPUs which run at the same hardware frequency: 3
  CPUs which need to have their frequency coordinated by software: 3
  maximum transition latency: 8.0 us.
  hardware limits: 800 MHz - 2.05 GHz
  available frequency steps: 2.05 GHz, 1.85 GHz, 1.65 GHz, 1.40 GHz, 1.20 GHz, 
1000 MHz, 800 MHz
  available cpufreq governors: conservative, powersave, userspace, ondemand, 
performance
  current policy: frequency should be within 800 MHz and 2.05 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 2.05 GHz:12.28%, 1.85 GHz:0.11%, 1.65 GHz:0.19%, 1.40 
GHz:0.21%, 1.20 GHz:0.31%, 1000 MHz:0.45%, 800 MHz:86.43%  (10244431)




So all the cpu's are changing speed as I wanted using the on-demand governor.   
However, I'm getting this message every few seconds in syslog:

Oct 24 20:14:48 VNetServer cpufreqd: cpufreqd_loop            : No Rule 
matches current system status.
Oct 24 20:14:50 VNetServer cpufreqd: cpufreqd_loop            : No Rule 
matches current system status.
Oct 24 20:14:52 VNetServer cpufreqd: cpufreqd_loop            : No Rule 
matches current system status.
Oct 24 20:14:54 VNetServer cpufreqd: cpufreqd_loop            : No Rule 
matches current system status.
Oct 24 20:14:56 VNetServer cpufreqd: cpufreqd_loop            : No Rule 
matches current system status.
Oct 24 20:14:58 VNetServer cpufreqd: cpufreqd_loop            : No Rule 
matches current system status.
Oct 24 20:15:00 VNetServer cpufreqd: cpufreqd_loop            : No Rule 
matches current system status.
Oct 24 20:15:02 VNetServer cpufreqd: cpufreqd_loop            : No Rule 
matches current system status.
Oct 24 20:15:04 VNetServer cpufreqd: cpufreqd_loop            : No Rule 
matches current system status.
Oct 24 20:15:06 VNetServer cpufreqd: cpufreqd_loop            : No Rule 
matches current system status.






Here's my /etc/cpufreq.conf file:


[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=2
verbosity=4
[/General]

[Profile]
name=On Demand
minfreq=800000
maxfreq=100%
policy=ondemand
[/Profile]

[Profile]
name=Performance High
minfreq=100%
maxfreq=100%
policy=performance
#exec_post=echo 8 > /proc/acpi/sony/brightness
[/Profile]

[Profile]
name=Performance Low
minfreq=80%
maxfreq=80%
policy=performance
[/Profile]

[Profile]
name=Powersave High
minfreq=60%
maxfreq=60%
policy=powersave
[/Profile]

[Profile]
name=Powersave Low
minfreq=40%
maxfreq=40%
policy=powersave
[/Profile]

##
# Basic states
##
# when AC use performance mode
[Rule]
name=AC Rule
ac=on                    # (on/off)
profile=On Demand
[/Rule]
 


 



Anybody know how to correct the configuration error which is producing the 
syslog entries?



-- 

Casey Bralla

Chief Nerd in Residence
The NerdWorld Organisation

www.NerdWorld.org
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug