Difference between revisions of "Power saving"

From MythTV Official Wiki
Jump to: navigation, search
(CPU)
Line 5: Line 5:
 
= CPU =
 
= CPU =
  
[[Powernowd]] can lower the clock frequency when the CPU is idle
+
[[Powernowd]] can lower the clock frequency when the CPU is idle.
 +
 
 +
Powernowd is more or less deprecated, more recent distributions have
 +
other cpu throttling mechanisms.  On Fedora, for example, the
 +
[http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html cpufrequtils]
 +
package contains similar tools.  The kernel has an "ondemand" cpu governor
 +
which makes it all easy and automatic.
  
 
= Display =
 
= Display =

Revision as of 15:20, 17 July 2009

Automatic powerdown/wakeup

See http://mythtv.org/docs/mythtv-HOWTO-11.html#ss11.5

CPU

Powernowd can lower the clock frequency when the CPU is idle.

Powernowd is more or less deprecated, more recent distributions have other cpu throttling mechanisms. On Fedora, for example, the cpufrequtils package contains similar tools. The kernel has an "ondemand" cpu governor which makes it all easy and automatic.

Display

Use a display adapter without fan. Those with fan usually have higher power consumption than those without.

DPMS will turn off your display when the PC has been idle for a while

Hard Drive Spin Down

Spinning down you harddrives not only will save power but save the life of your drives.

hdparm can be used to spin down internet IDE and SATA drives. First you must disable access times to the drives to keep them from waking up.

Edit your fstab adding noatime and nodiratime.

 vi /etc/fstab
 LABEL=d3       /tv/d3      xfs     rw,noatime,nodiratime   0 0

Now, add hdparm statements to rc.local to set the default spindown time, i have used 20mins as a timeout:

 vi /etc/rc.local
 
  /sbin/hdparm -S240 /dev/sda