Messages in this thread | | | Date | Thu, 27 May 2004 16:59:52 +0100 | From | John Bradford <> | Subject | Re: 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/
| |