Re: Swap vs No Swap.

From: Rik van Riel (riel@conectiva.com.br)
Date: Thu Nov 22 2001 - 11:57:10 EST


On Thu, 22 Nov 2001, James A Sutherland wrote:
> On Thursday 22 November 2001 4:00 pm, war wrote:
> > Incorrect, my point is I have enough ram where I am not going to run out
> > for the things I do.

> Obviously, there are cases where removing swap breaks the system
> entirely, but even in other cases, adding swap should *never* degrade
> performance. (In theory, anyway; in practice, it still needs
> tuning...)

Not quite true. The VM cannot look into the future, so if
you have swap it could have just swapped out the application
on the desktop you're about to switch to ;)

If you have more than enough swap, you can be sure that the
program data will stay in ram and at most the executable code
needs to be read in again from disk.

regards,

Rik

-- 
DMCA, SSSCA, W3C?  Who cares?  http://thefreeworld.net/

http://www.surriel.com/ http://distro.conectiva.com/

- 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/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:30 EST