From mboxrd@z Thu Jan 1 00:00:00 1970 From: "linux-os \(Dick Johnson\)" Subject: Re: [RFC] VM: I have a dream... Date: Mon, 23 Jan 2006 11:11:29 -0500 Message-ID: References: <200601212108.41269.a1426z@gawab.com><986ed62e0601221155x6a57e353vf14db02cc219c09@mail.gmail.com><728201270601230705k25e6890ejd716dbfc393208b8@mail.gmail.com> <20060123162624.5c5a1b94.diegocg@gmail.com> Reply-To: "linux-os \(Dick Johnson\)" Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "Ram Gupta" , , , , , Return-path: Received: from odyssey.analogic.com ([204.178.40.5]:52746 "EHLO odyssey.analogic.com") by vger.kernel.org with ESMTP id S1751484AbWAWQLp convert rfc822-to-8bit (ORCPT ); Mon, 23 Jan 2006 11:11:45 -0500 In-Reply-To: <20060123162624.5c5a1b94.diegocg@gmail.com> Content-class: urn:content-classes:message To: "Diego Calleja" Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, 23 Jan 2006, Diego Calleja wrote: > El Mon, 23 Jan 2006 09:05:41 -0600, > Ram Gupta escribi=F3: > >> Linux also supports multiple swap files . But these are more > > There're in fact a "dynamic swap" tool which apparently > does what mac os x do: http://dynswapd.sourceforge.net/ > > 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. You have roughly 2 GB of dynamic address-space avaliable to each task (stuff that's not the kernel and not the runtime libraries). You can easily have 500 tasks, even RedHat out-of-the-box creates about 60 tasks. That's 1,000 GB of potential swap-space required to support this. This is not beyond the capabilites of a 32-bit machine with a fast front-side bus and fast I/O (like wide SCSI). Some persons tend to forget that 32-bit address space is available to every user, some is shared, some is not. A reasonable rule-of- thumb is to provide enough swap-space to duplicate the address- space of every potential task. Cheers, Dick Johnson Penguin : Linux version 2.6.13.4 on an i686 machine (5589.54 BogoMips). Warning : 98.36% of all statistics are fiction. **************************************************************** The information transmitted in this message is confidential and may be = privileged. Any review, retransmission, dissemination, or other use of= this information by persons or entities other than the intended recipi= ent is prohibited. If you are not the intended recipient, please notif= y Analogic Corporation immediately - by replying to this message or by = sending an email to DeliveryErrors@analogic.com - and destroy all copie= s of this information, including any attachments, without reading or di= sclosing them. Thank you. - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html