From owner-freebsd-questions Tue Nov 27 1:34:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id A782937B7D1 for ; Tue, 27 Nov 2001 01:34:27 -0800 (PST) Received: (qmail 77034 invoked by uid 100); 27 Nov 2001 09:34:26 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15363.24098.8617.782371@guru.mired.org> Date: Tue, 27 Nov 2001 03:34:26 -0600 To: "Anthony Atkielski" Cc: Subject: Re: Calculating swap file size In-Reply-To: <003701c17725$8abc5c20$0a00000a@atkielski.com> References: <15363.11945.410356.244254@guru.mired.org> <003701c17725$8abc5c20$0a00000a@atkielski.com> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [Context recovered from top posting. Anthony Atkielski types: > From: "Mike Meyer" > > Anthony Atkielski types: > > > Does FreeBSD resort to swap only when RAM is exhausted, or does it > > > have to use the swap file all the time (as in a one-to-one VM > > > mapping scheme)? > > Neither. It doesn't do a ono-to-one VM scheme, but the system is > > opportunistic about putting things on swap and tagging the page as > > "free" if it can. > If I understand you and others correctly, as long as all processes > can be contained in RAM, swap space will never be used at all No, that's not the case, and I didn't say that was the case. Please see the FAQ, section 13, question 1, for more information on that. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message