Red Hat Bugzilla – Bug 232740
a way to control swappiness on boot
Last modified: 2014-03-16 23:06:01 EDT
There should be a simple way to control what swappiness to use, since it is
reset at every reboot.
Proposed solution: just put the following in /etc/rc.d/rc.sysinit :
if [ -f /etc/sysconfig/swappiness ]; then
cp /etc/sysconfig/swappines /proc/sys/vm/