3 ms·
> No swap on the box. Wrong. ...some common myths: 1. Swap space does not inherently slow down your system. In fact, not having swap space doesn't mean you w
by mike_ivanov 14y ago
> No swap on the box.
Wrong.
...some common myths:
1. Swap space does not inherently slow down your system. In fact, not having swap space doesn't mean you won't swap pages. It merely means that Linux has fewer choices about what RAM can be reused when a demand hits. Thus, it is possible for the throughput of a system that has no swap space to be lower than that of a system that has some.
2. Swap space is used for modified anonymous pages only. Your programs, shared libraries and filesystem cache are never written there under any circumstances.
3. Given items 1 and 2 above, the philosophy of “minimization of swap space” is really just a concern about wasted disk space.
...
http://www.linuxjournal.com/article/10678 http://www.linuxjournal.com/article/10678
Edit: formatting
- miguel_pilar 14y agoI find the better balance is to use a file-based swap, at least while experimenting with sizes, the performance loss from the FS overhead really is minimal.