From owner-freebsd-isp Thu Mar 12 13:08:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA28265 for freebsd-isp-outgoing; Thu, 12 Mar 1998 13:08:03 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from gill.netrail.net (gill.netrail.net [205.215.10.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA28226 for ; Thu, 12 Mar 1998 13:07:50 -0800 (PST) (envelope-from jonz@netrail.net) Received: from localhost (jonz@localhost) by gill.netrail.net (8.8.6/8.8.6) with SMTP id QAA15578; Thu, 12 Mar 1998 16:06:22 -0500 (EST) Date: Thu, 12 Mar 1998 16:06:22 -0500 (EST) From: "Jonathan A. Zdziarski" To: dyson@iquest.net cc: "Jeffrey J. Mountin" , toor@dyson.iquest.net, freebsd-isp@FreeBSD.ORG Subject: Re: MFS? In-Reply-To: <19980312183828.10376.qmail@iquest7.iquest.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On the BSDi mailing list we recently discussed the face that you can add a mlock() command to the mount_mfs code that will lock the pages in memory, thus making it non-swappable. Thank you, Jonathan A. Zdziarski Systems Administrator Netrail Incorporated 888-NETRAIL jonz@netrail.net On Thu, 12 Mar 1998 dyson@iquest.net wrote: :> :> At 03:05 PM 3/11/98 -0500, dyson@iquest.net wrote: :> >> I've been wondering if there is a size limit to MFS, besides the total amount of physical memory. :) :> >> :> >The size of swap. :> :> So with 1GB of memory and 500MB of swap I can MFS 500MB? :> :> Anyone done this? :> :> With some scripting to save data periodically this would make for a fast site, especially if a lot of data needs to be searched. :> :> The most I've seen used is 64MB on a news box. :> :Okay, I parsed your question precisely, and perhaps shouldn't have. : :You MUST have at least the same amount of swap as memory, period, unless :you have a well controlled embedded application. The best rule of thumb :is swap = 2 * memory for large systems, but even that is not always good. : :MFS is backed by swap just like anonymous pages in processes. So, MFS :is limited by the same memory limitations as processes are. I know that :I have had at least a 500MB MFS working. Note that I have a system :with 200MB+ of ram, and 1.2GB of swap. : :John : :To Unsubscribe: send mail to majordomo@FreeBSD.org :with "unsubscribe freebsd-isp" in the body of the message : To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message