Difference between revisions of "How to configure powernowd"

From ThinkWiki
Jump to: navigation, search
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{NOTE|See the [[How_to_make_use_of_Dynamic_Frequency_Scaling|Dynamic Frequency Scaling HOWTO]] on how to avoid using cpu frequency scaling daemons by using the kernel builtin ondemand governor.}}
+
{{NOTE|See the [[How to make use of Dynamic Frequency Scaling|Dynamic Frequency Scaling HOWTO]] on how to avoid using cpu frequency scaling daemons by using the kernel builtin ondemand governor.}}
  
  
 
powernowd originally was only written for AMD CPUs which support PowerNow! technology, but it supports other CPUs as well.
 
powernowd originally was only written for AMD CPUs which support PowerNow! technology, but it supports other CPUs as well.
  
Make sure you have loaded the necessary kernel modules. (See [[How_to_make_use_of_Dynamic_Frequency_Scaling]])
+
Make sure you have loaded the necessary kernel modules. (See [[How to make use of Dynamic Frequency Scaling]])
  
Install "powernowd".
+
==Installation==
 +
On {{Debian}} you can do this with:
 +
:{{cmdroot|apt-get install powernowd}}
  
On Debian you can do this with:
+
==Configuration==
 +
Use the sys interface to set the min and max speed:
 +
:{{cmdroot|echo 825000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq}}
 +
:{{cmdroot|echo 2200000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq}}
 +
:{{cmdroot|/etc/init.d/powernowd start}}
  
{{cmdroot|apt-get install powernowd}}
+
In {{Debian}} you may specify different options for powernowd in {{path|/etc/default/powernowd}}. This file will be loaded by the init script {{path|/etc/init.d/powernowd}}.
 
 
Also, on Debian you may specify different options for powernowd in <tt>/etc/default/powernowd</tt>. This file will be loaded by the init script <tt>/etc/init.d/powernowd</tt>.
 

Latest revision as of 23:46, 17 January 2006

NOTE!
See the Dynamic Frequency Scaling HOWTO on how to avoid using cpu frequency scaling daemons by using the kernel builtin ondemand governor.


powernowd originally was only written for AMD CPUs which support PowerNow! technology, but it supports other CPUs as well.

Make sure you have loaded the necessary kernel modules. (See How to make use of Dynamic Frequency Scaling)

Installation

On Debian you can do this with:

# apt-get install powernowd

Configuration

Use the sys interface to set the min and max speed:

# echo 825000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
# echo 2200000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
# /etc/init.d/powernowd start

In Debian you may specify different options for powernowd in /etc/default/powernowd. This file will be loaded by the init script /etc/init.d/powernowd.