[systemd-devel] Definitive place for powertop tunables?
grawity at gmail.com
Sun Nov 18 22:01:00 PST 2012
On Mon, Nov 19, 2012 at 4:25 AM, Kai Hendry <hendry at iki.fi> wrote:
> Hi there,
> I would normally put these `powertop -html` tunables in rc.local:
> Is http://0pointer.de/public/systemd-man/tmpfiles.d.html the right
> place? If so powertop could do with some patches to help create the
> file, one would think.
`iwconfig` and `ethtool` should go in udev(7) rules; that way they
will be applied as soon as the hardware appears -- even if, for some
reason, it happens twice.
The same applies to SATA and PCI settings under /sys:
Anything that is written to /sys/module/*/parameters goes to
modprobe.d(5) -- again, to be applied when the module is inserted, not
at some fixed point:
Use sysctl.conf(5) for settings under /proc/sys:
(Side note: Is it really better to turn the NMI watchdog off?)
More information about the systemd-devel