From owner-freebsd-current Fri Feb 22 15:38:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id DA4AE37B402 for ; Fri, 22 Feb 2002 15:38:48 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id g1MNcZH73615; Fri, 22 Feb 2002 15:38:35 -0800 (PST) (envelope-from obrien) Date: Fri, 22 Feb 2002 15:38:34 -0800 From: "David O'Brien" To: Jake Burkholder Cc: current@FreeBSD.ORG Subject: Re: changes to rc.diskless* Message-ID: <20020222153834.A67327@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20020221200050.A78243@dragon.nuxi.com> <20020222141322.A27577@locore.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020222141322.A27577@locore.ca>; from jake@locore.ca on Fri, Feb 22, 2002 at 02:13:22PM -0500 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Feb 22, 2002 at 02:13:22PM -0500, Jake Burkholder wrote: > > echo "+++ mount_md of /var" > > -mount_md ${varsize:=65536} /var 1 > > +mount_md ${varsize:=32m} /var 1 > > One problem with making the mds so big is that it uses type malloc > which afaict uses malloc(9) to get the backing store. I only changed the syntax for the size to something easier to read, but not the size itself. > much with M_WAITOK you might go to sleep and never be woken up. It > might be better to use type vnode with file or swap based backing > store. No opinion :-) > sparc64 machines tend to have more ram than older pcs that > this might also be used on :) one can set varsize=2m in /etc/rc.conf is they need to. :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message