Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030489AbWAXRJ5 (ORCPT ); Tue, 24 Jan 2006 12:09:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030488AbWAXRJ5 (ORCPT ); Tue, 24 Jan 2006 12:09:57 -0500 Received: from inti.inf.utfsm.cl ([200.1.21.155]:56292 "EHLO inti.inf.utfsm.cl") by vger.kernel.org with ESMTP id S1030482AbWAXRJz (ORCPT ); Tue, 24 Jan 2006 12:09:55 -0500 Message-Id: <200601240212.k0O2AG3a003226@laptop11.inf.utfsm.cl> To: "linux-os \(Dick Johnson\)" cc: "Diego Calleja" , "Ram Gupta" , mloftis@wgops.com, barryn@pobox.com, a1426z@gawab.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [RFC] VM: I have a dream... In-Reply-To: Message from "linux-os \(Dick Johnson\)" of "Mon, 23 Jan 2006 11:11:29 CDT." X-Mailer: MH-E 7.4.2; nmh 1.1; XEmacs 21.4 (patch 18) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3224.1138068616.1@laptop11.inf.utfsm.cl> Date: Mon, 23 Jan 2006 23:10:16 -0300 From: Horst von Brand X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0b5 (inti.inf.utfsm.cl [200.1.21.155]); Tue, 24 Jan 2006 14:08:27 -0300 (CLST) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1656 Lines: 41 linux-os \(Dick Johnson\) wrote: > On Mon, 23 Jan 2006, Diego Calleja wrote: [...] > > However, I doubt the approach is really useful. If you need that much > > swap space, you're going well beyond the capabilities of the machine. > > In fact, I bet that most of the cases of machines needing too much > > memory will be because of bugs in the programs and OOM'ing would be > > a better solution. Good rule of thumb: If you run into swap, add RAM. Swap is /extremely/ slow memory, however fast you make it go. RAM is not expensive anymore... > You have roughly 2 GB of dynamic address-space avaliable to each > task (stuff that's not the kernel and not the runtime libraries). Right. But your average task is far from that size, and most of it resides in shared libraries and (perhaps shared) executables, and is perhaps even COW shared with other tasks. > You can easily have 500 tasks, Even thousands. > even RedHat out-of-the-box creates > about 60 tasks. That's 1,000 GB of potential swap-space required > to support this. But you really never do. That is the point. -- Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513 - 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/