Re: Swap vs No Swap.

James A Sutherland (jas88@cam.ac.uk)
Thu, 22 Nov 2001 18:08:43 +0000


On Thursday 22 November 2001 5:56 pm, war wrote:
> This is incorrect.
> SWAP is used on a [1GB ram/2GB swap system].

As it should be. Page out unused data to make room for more cache. This
*should* improve performance overall. (Yes, latency suffers to boost
throughput. A fairly common tradeoff; you'll be glad of it under heavier
load...)

You have "enough" RAM in that the machine doesn't crash under load, but NOT
enough that swap would go unused.

> I talked to Rik about this.
> He said generally SWAP is a good thing and increases performance.
>
> However, in my case it does not.

As I've said, the VM doesn't always make the right choice :)

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/