We improve energy saving on mobile devices with OS Linux.

Aug 14, 2012 00:04

Very long ago was going to write this article.

I will not provide information on how to connect well-known crutches. I will tell about little-known ways of tuning of energy saving.

Let's start.

Management of energy saving on mobile Broadcom chips with the STA module:

iwconfig eth1 txpower 19dBm
iwconfig eth1 power period 1
iwconfig eth1 power timeout 300u all
iwconfig eth1 power 500m unicast
iwconfig eth1 power min period 1 power max period 2
iwconfig eth1 power saving 5
iwconfig eth1 commit

We change percent with which swap use begins:
echo 10 > /proc/sys/vm/swappiness

We include tracking of a condition of a food:
echo “1″ > /sys/power/pm_trace

Management of the processor fan:
echo “1″ > /sys/class/thermal/cooling_device0/cur_state

Management of energy saving of controlers for connected carriers:
echo min_power > /sys/class/scsi_host/host2/link_power_management_policy
echo min_power > /sys/class/scsi_host/host3/link_power_management_policy
echo min_power > /sys/class/scsi_host/host4/link_power_management_policy

We include energy saving for the tire PCIe:
echo powersave > /sys/module/pcie_aspm/parameters/policy

We include energy saving for the tire USB:
[ -L /sys/bus/usb/devices/1-5/power/level ] && echo auto > /sys/bus/usb/devices/1-5/power/level
[ -L /sys/bus/usb/devices/1-5/power/level ] && echo auto > /sys/bus/usb/devices/1-5/power/level

for i in /sys/bus/usb/devices/*/power/autosuspend; do echo 1 > $i; done
for i in /sys/bus/usb/devices/*/power/level; do echo auto > $i; done
The last use with care since there can be problems with a mouse. ;-)
or options usbcore autosuspend=1 in /etc/modprobe.conf or /etc/modules

We include a mode for portable devices:
echo “5″ > /proc/sys/vm/laptop_mode

We adjust energy saving for connected data carriers:
hdparm -B 128 -S 200 /dev/sda
hdparm -B 128 -S 200 /dev/sg1

Parameters specific to platforms on the basis of Intel of logic:
echo 1 > /sys/module/i915/parameters/i915_enable_rc6
echo 1 > /sys/module/snd_hda_intel/parameters/power_save
echo 1 > /sys/module/longhaul/parameters/scale_voltage

In more detail and more informatively about it it is possible to read and find more interesting information on the following reference:
http://www.thinkwiki.org/wiki/How_to_reduce_power_consumption

“Knowledge and work - mountains will grind!”, isn't it? ;-) Russian pogovrka.

Источник статьи

power, laptop, linux, devices, portable

Previous post Next post
Up