Power tuning configuration

In case someone is wondering, these are the power consumption tuning parameters I have found out to work best on my Precision 5510:

echo '1500' > '/proc/sys/vm/dirty_writeback_centisecs';
echo '0' > '/proc/sys/kernel/nmi_watchdog';
echo '1' > '/sys/module/snd_hda_intel/parameters/power_save';
echo 'min_power' > '/sys/class/scsi_host/host0/link_power_management_policy';
echo 'min_power' > '/sys/class/scsi_host/host1/link_power_management_policy';
echo 'auto' > '/sys/bus/pci/devices/0000:00:01.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:04.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:00.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:02.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:14.2/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:15.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:15.1/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:17.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:03:00.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:04:00.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:02:00.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.4/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:16.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.1/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:14.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.2/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.4/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.6/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.3/power/control';
/sbin/modprobe cpufreq_ondemand > /dev/null 2>&1;
echo 'ondemand' > '/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor'; 
echo 'ondemand' > '/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor'; 
echo 'ondemand' > '/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor'; 
echo 'ondemand' > '/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor'; 
echo 'ondemand' > '/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor'; 
echo 'ondemand' > '/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor'; 
echo 'ondemand' > '/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor'; 
echo 'ondemand' > '/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor';

(Put these lines before the “exit 0” line in /etc/rc.local)

Leave a Reply

Your email address will not be published. Required fields are marked *