Difference between revisions of "X301 Power Savings"

From ThinkWiki
Jump to: navigation, search
(←Created page with '== x301 Power Savings == The standard Fedora configuration provides for a lot of leeway in power savings. Here are the items I have modified that got me from around 11W t...')
 
(added external resources)
Line 74: Line 74:
 
  usbcore.autosuspend=1
 
  usbcore.autosuspend=1
 
</code>
 
</code>
 +
 +
==External Resources==
 +
* [http://itgen.blogspot.com/2009/03/energy-management-in-linux.html Energy management in Linux]
 +
* [http://www.linuxpowertop.org PowerTOP] website
 +
* [http://www.lesswatts.org/tips/index.php Less Watts Tips & Tricks]

Revision as of 19:06, 4 April 2009

x301 Power Savings

The standard Fedora configuration provides for a lot of leeway in power savings. Here are the items I have modified that got me from around 11W to around 7W. powertop is an invaluable tool in figuring out how much power is being drawn by each component, not to mention seeing your progress. A lot of this information is covered in other pages, but this is specific to the x301.

  • I don't use bluetooth on a regular day...

echo disabled > /proc/acpi/ibm/bluetooth

  • The video system keeps one or more of the external connectors powered up at all times.

Anything wish a '*' next to the mode is powered on:

[root@x301 ~]# xrandr 
Screen 0: minimum 320 x 200, current 1440 x 900, maximum 8192 x 8192
VGA1 connected (normal left inverted right x axis y axis)
  1024x768       60.0  
  800x600        60.3  
  640x480        59.9  
LVDS1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 287mm x 180mm
  1440x900       60.0*+   50.0  
DVI1 disconnected (normal left inverted right x axis y axis)
DVI2 connected (normal left inverted right x axis y axis)
  1024x768       60.0*  
  800x600        60.3  
  640x480        59.9 

So disable them with

xrandr --output DVI2 --off

  • By default, the wifi driver keeps the card at the maximum power setting for better performance. If you are just browsing the web or not using a lot of bandwidth significant savings can be had by reducing this setting.

echo 5 > /sys/class/net/wlan0/device/power_level

  • Newer kernels are much smarter about how they load the cores on a CPU, this setting tells it to be more power efficient rather than performance oriented.

echo 1 > /sys/devices/system/cpu/sched_mc_power_savings

  • Hal will constantly poll the cdrom to see if a disk has been inserted and if it should mount and open it for you in X. Disabling this allows the cpu to sleep longer.

hal-disable-polling --device /dev/cdrom

  • New features in the SATA driver allows it to power down the link when not utilized, make sure to enable on all paths with

for foo in /sys/class/scsi_host/host*/link_power_management_policy;
do echo min_power > $foo;
done

  • Similar savings can be had by setting the pcie bus to a more power-friendly mode

echo powersave > /sys/module/pcie_aspm/parameters/policy

  • The douns hardware also has power savings settings

echo 5 > /sys/module/snd_hda_intel/parameters/power_save
echo Y > /sys/module/snd_hda_intel/parameters/power_save_controller

  • Turning off Wake-On-Lan will save some power while your system is suspended or hibernated

ethtool -s eth0 wol d

  • Powering down the usb bus while not in use is also beneficial

usbcore.autosuspend=1

External Resources