LWN.net Logo

How do you set 'swappiness'?

How do you set 'swappiness'?

Posted May 6, 2004 16:27 UTC (Thu) by corbet (editor, #1)
In reply to: How do you set 'swappiness'? by southey
Parent article: 2.6 swapping behavior

To set it to zero, type:

    echo 0 > /proc/sys/vm/swappiness

All there is to it.


(Log in to post comments)

How do you set 'swappiness'?

Posted May 6, 2004 17:32 UTC (Thu) by southey (subscriber, #9466) [Link]

Many thanks, I'll give it a whirl. It is not always clear what to do for less technical user. This is one of the best sections on Linux (web or print based) that allows at least me to understand what the kernel is and what is it doing in the past, present and future!

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