From owner-freebsd-hackers Sat Dec 11 14:53:58 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from thelab.hub.org (nat196.191.mpoweredpc.net [142.177.196.191]) by hub.freebsd.org (Postfix) with ESMTP id 3CA2014FAD; Sat, 11 Dec 1999 14:53:52 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.3/8.9.1) with ESMTP id SAA41702; Sat, 11 Dec 1999 18:53:56 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Sat, 11 Dec 1999 18:53:55 -0400 (AST) From: The Hermit Hacker To: David Malone Cc: Zhihui Zhang , freebsd-hackers@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG Subject: Re: Why VMIO directory is a bad idea? In-Reply-To: <19991210154459.A1034@hamilton.maths.tcd.ie> 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 On Fri, 10 Dec 1999, David Malone wrote: > On Fri, Dec 10, 1999 at 08:56:47AM -0500, Zhihui Zhang wrote: > > > Can anyone give me an idea on how big a directory could be in some > > environment? > > Our inn's /news/spool/control/cancel directory is almost 300k. If > we were a significantly larger news site we probably wouldn't be > running inn though. If you run newer INN's, you could use a CNFS buffer for control, which would make your directory much smaller... My directory's for ~52gig of news: drwxr-xr-x 2 news news 512 Dec 10 12:50 buffer5 drwxr-xr-x 2 news news 512 Dec 10 10:50 buffer4 drwxr-xr-x 2 news news 512 Dec 10 10:25 buffer2 drwxr-xr-x 2 news news 512 Dec 8 07:13 buffer1 drwxr-xr-x 2 news news 512 Dec 8 07:13 buffer3 And they will never change from 512, as each directory contains but one file... Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message