John R Pierce wrote:
John Summerfield wrote:
I don't know what advantage swap partitions have over swap files.
Swap files can be created and added as any time.
they are always contiguous, and have no overhead in inode and cluster mapping.
Contiguous is irrelevant; unless one has disk dedicated to swap, the partition's never close to anything important.
Is the rest something that matters for 2.6 kernels?
See http://en.wikipedia.org/wiki/Virtual_memory [edit] Swapping in the Linux and BSD operating systems
that said, the actual swap usage on a non-overloaded system -should- be close to zero.
Indeed. And if it's high, a good way to reduce it is to add RAM. It escapes me though, why I should add swap too.