You are not logged in.

#1 2008-11-11 13:51:43

low
Member
Registered: 2007-07-04
Posts: 109

Making powertop changes permanent

I was wondering what the best way to make powertop's suggestions permanent. It gives me a few suggestions, the most obvious being

Enable USB autosuspend by pressing the U key or adding
usbcore.autosuspend=1 to the kernel command line in the grub config

but even after adding that option to the end of the kernel line, powertop still complains and continues to suggest it.

Also, there are plenty of other suggestions, like

echo 1500 > /proc/sys/vm/dirty_writeback_centisecs

but I don't know where/what script to put this into.

Offline

#2 2008-11-11 14:40:07

signor_rossi
Member
Registered: 2007-08-24
Posts: 257

Re: Making powertop changes permanent

Regarding your second question, I think '/etc/rc.local' is the right place for it, I use it to set my cpu frequency to 800MHz and a maximum frequency of 1.6GHz with cpufreq-set.
Regarding your first question, maybe doing what whargoul in this thread suggests helps.
http://bbs.archlinux.org/viewtopic.php?id=53601

SignorRossi.

Offline

#3 2008-11-11 15:22:50

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Making powertop changes permanent

low wrote:
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs

but I don't know where/what script to put this into.

Add this to /etc/sysctl.conf:

vm.dirty_writeback_centisecs=1500

This works for all settings under /proc/sys .

Offline

Board footer

Powered by FluxBB