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/ fi
/etc/sysctl.conf.