lkml.org 
[lkml]   [2001]   [Nov]   [22]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 22 Nov 2001 14:57:10 -0200 (BRST)
FromRik van Riel <>
SubjectRe: Swap vs No Swap.
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/

\
 
 \ /
  Last update: 2005-03-22 12:13    [from the cache]
©2003-2008