Re: Swap vs No Swap.

James A Sutherland (jas88@cam.ac.uk)
Thu, 22 Nov 2001 17:39:19 +0000


On Thursday 22 November 2001 4:25 pm, war wrote:
> Why have SWAP if you don't need it - answer that.?

Having it is supposed to improve performance. If you take two identical
machines, and enable swap on one but not the other, the first machine should
have better performance: it can cache the FS more effectively.

Now, if you have INSANE amounts of RAM (i.e. enough to have everything
running in RAM *AND* every file you access cached) the swap will make no
difference at all. Under any other circumstances, it should make things
better.

James.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/