From owner-freebsd-hackers Fri Dec 10 12:17:10 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id CCCB215AC0; Fri, 10 Dec 1999 12:06:03 -0800 (PST) (envelope-from zzhang@cs.binghamton.edu) Received: from sol.cs.binghamton.edu (cs1-gw.cs.binghamton.edu [128.226.171.72]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with SMTP id PAA20176; Fri, 10 Dec 1999 15:05:53 -0500 (EST) Date: Fri, 10 Dec 1999 13:52:46 -0500 (EST) From: Zhihui Zhang To: Matthew Dillon Cc: freebsd-hackers@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG Subject: Re: Why VMIO directory is a bad idea? In-Reply-To: <199912101907.LAA59861@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > :(3) Or maybe we can add a parameter to the filesytem, telling it to try to > :preallocate some contiguous disk space for all directory files. I guess > :that the cost per bit on disk is less than the cost per bit in memory. > > I believe the filesystem already does this. > The FFS tries to allocate space contiguously for any type of file. It does not PRE-allocate disk space, which will result wasteage of disk space if that space is not used later. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message