Martin Mewes wrote:
Why does everybody want swap to be twice the RAM size? There is no
reason for that. Besides that, having swap on a disk which is mostly
inactive will help. So moving swap to the disk with /var and /tmp
makes sense.
Maybe I am blind and maybe my knowledge here is rather old, but someday
someone said that "a good choice for swap-size is to double the amount
of RAM". I agree that swap can move to a hdd which is mostly inactive.
conventional wisdom is that you shouldn't try and get double the virtual
memory by using swap space - otherwise you'll just end up thrashing.
Swapping is very very sloooooow compared to memory.
It's just one of those oddities that linux runs best when there's *some*
swap space even if it's largely unused; I think this problem has been
reduced somewhat with more recent kernels.
Seymour Cray once summarised it best with "memory is like sex - best
when it's not faked".
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]