Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 22 Nov 2001 11:57:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 22 Nov 2001 11:57:43 -0500 Received: from perninha.conectiva.com.br ([200.250.58.156]:32016 "HELO perninha.conectiva.com.br") by vger.kernel.org with SMTP id ; Thu, 22 Nov 2001 11:57:27 -0500 Date: Thu, 22 Nov 2001 14:57:10 -0200 (BRST) From: Rik van Riel X-X-Sender: To: James A Sutherland Cc: war , Subject: Re: Swap vs No Swap. In-Reply-To: Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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/