Debian-news is about one simple thing - news about Debian GNU/Linux and the top free distributions based on Debian GNU/Linux.


 

Don’t swap like a sucker OR How to tune swap settings on Linux.

Even with the 2.6 kernel, and all it’s wonder, default swap settings are fairly liberal in my opinion. The good news is, vm.swappiness can be adjusted via the proc filesystem. More here

Several years ago, when the 2.4 kernel was all the rage. I noticed that Linux did not behave like FreeBSD in regards to swapping to the disk. FreeBSD would swap when available RAM was in short supply. Linux however, seemed to swap to disk, just for the sake of swapping. It always seemed silly to me, and definitely a hit to performance.

2 Responses to “Don’t swap like a sucker OR How to tune swap settings on Linux.” »

  1. Pingback by Tweets that mention Don’t swap like a sucker OR How to tune swap settings on Linux. | Debian-News.net - Your one stop for news about Debian -- Topsy.com — October 21, 2009 @ 5:48 pm

    [...] This post was mentioned on Twitter by Debian Project, Juca Crispim. Juca Crispim said: ♺ @debian: (debian-news.net) Don’t swap like a sucker OR How to tune swap settings on Linux. http://tinyurl.com/ylemo6x [...]

  2. Pingback by The Hypertufa How-To Manual. | My Cellulite Solutions — October 21, 2009 @ 10:47 pm

    [...] Don't swap like a sucker OR How to tune swap settings on Linux … [...]

RSS feed for comments on this post. TrackBack URI

Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Debian-News is not related to the Debian Project.
All logos and trademarks on this site are property of their respective owners.