LWN.net Logo

How do you set 'swappiness'?

How do you set 'swappiness'?

Posted May 6, 2004 17:38 UTC (Thu) by thomas_d_stewart (subscriber, #4328)
In reply to: How do you set 'swappiness'? by southey
Parent article: 2.6 swapping behavior

And if you want it set at every reboot try:-

echo "vm/swappiness=0" >> /etc/sysctl.conf

(Thats how to do it in debian and fedora, its part of the procpc package)

HTH
--
Tom


(Log in to post comments)

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds