lkml.org 
[lkml]   [2004]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: why swap at all?
Quote from William Lee Irwin III <wli@holomorphy.com>:
> On Thu, May 27, 2004 at 08:31:26AM -0400, Piszcz, Justin Michael wrote:
> > If I have 16GB of ram should I use swap?
> > Would swap cause the machine to slow down?
>
> Yes. You want swap so you can physically relocate anonymous pages in the
> rare case one ends up somewhere it could cause memory pressure against
> allocations that can only be satisfied by a restricted range of memory.

I think you are assuming a 100% perfect VM system. In practice, if the machine
isn't heavily loaded, unnecessary swap is more likely to cause, (slight, and
possibly negligable), slowdowns, than bring any noticable performance benefit.

John.
-
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 14:03    [W:0.122 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site