From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ram Gupta Subject: Re: [RFC] VM: I have a dream... Date: Mon, 23 Jan 2006 09:05:41 -0600 Message-ID: <728201270601230705k25e6890ejd716dbfc393208b8@mail.gmail.com> References: <200601212108.41269.a1426z@gawab.com> <986ed62e0601221155x6a57e353vf14db02cc219c09@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: "Barry K. Nathan" , Al Boldi , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Return-path: Received: from uproxy.gmail.com ([66.249.92.195]:41009 "EHLO uproxy.gmail.com") by vger.kernel.org with ESMTP id S1751462AbWAWPFo convert rfc822-to-8bit (ORCPT ); Mon, 23 Jan 2006 10:05:44 -0500 Received: by uproxy.gmail.com with SMTP id s2so794089uge for ; Mon, 23 Jan 2006 07:05:42 -0800 (PST) To: Michael Loftis In-Reply-To: Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 1/22/06, Michael Loftis wrote: > > > FWIW, Mac OS X is one step closer to your vision than the typical > > Linux distribution: It has a directory for swapfiles -- /var/vm -- and > > it creates new swapfiles there as needed. (It used to be that each > > swapfile would be 80MB, but the iMac next to me just has a single 64MB > > swapfile, so maybe Mac OS 10.4 does something different now.) > /var/vm/swap* > 64M swapfile0 > 64M swapfile1 > 128M swapfile2 > 256M swapfile3 > 512M swapfile4 > 512M swapfile5 > 1.5G total > Linux also supports multiple swap files . But these are more beneficial if there are more than one disk in the system so that i/o can be done in parallel. These swap files may be activated at run time based on some criteria. Regards Ram Gupta