Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 28 Jul 2002 16:24:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 28 Jul 2002 16:24:46 -0400 Received: from twilight.cs.hut.fi ([130.233.40.5]:36201 "EHLO twilight.cs.hut.fi") by vger.kernel.org with ESMTP id ; Sun, 28 Jul 2002 16:24:39 -0400 Date: Sun, 28 Jul 2002 23:27:43 +0300 From: Ville Herva To: Buddy Lumpkin Cc: Linux-kernel Subject: Re: About the need of a swap area Message-ID: <20020728202743.GY1548@niksula.cs.hut.fi> Mail-Followup-To: Ville Herva , Buddy Lumpkin , Linux-kernel References: <20020728065830.GT1465@niksula.cs.hut.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1210 Lines: 27 On Sun, Jul 28, 2002 at 11:48:51AM -0700, you [Buddy Lumpkin] wrote: > > If im willing to spend the money for tons of RAM I shouldn't have to incur > the overhead of going out to the swap device at all unless I truly get > short on memory. Don't just assume that it's inevitable that I will have > to swap at some point. I don't get it. Why do you insist swap device must not be touched unless the system is suffering severe memory shortage? If the anonymous pages are only written out under dire shortage, you'll have to wait longer for memory to get freed. If you never face the shortage - well, then, you don't. That's it, no harm done swap-backing the pages. And remember, the fact that something is written to swap doesn't mean it couldn't still exist in memory. Why would do you wan't the swap device not to be touched when there's nothing else going on? I mean, if you don't want the system to use the swap device, don't configure one. -- v -- v@iki.fi - 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/