From owner-freebsd-hackers Thu Jun 22 20:31:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from krell.webweaver.net (krell.webweaver.net [206.24.105.170]) by hub.freebsd.org (Postfix) with ESMTP id E88C337B62A for ; Thu, 22 Jun 2000 20:31:56 -0700 (PDT) (envelope-from nicole@unixgirl.com) Received: from xwin.nmhtech.com (xwin.nmhtech.com [208.138.46.10]) by krell.webweaver.net (Postfix) with ESMTP id 08C0420F04; Thu, 22 Jun 2000 19:35:30 -0700 (PDT) Content-Length: 2097 Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200006220731.JAA09401@info.iet.unipi.it> Date: Thu, 22 Jun 2000 20:31:56 -0700 (PDT) From: "Nicole Harrington." To: Luigi Rizzo Subject: Re: How many files can I put in one diretory? Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 22-Jun-00 Luigi Rizzo wrote: >> >> Hello >> I have a user who needs to store a large amount of small html files. Like >> around 2 million... > > that sounds insane! Because a name is a name, why dont they call > those files xx/yy/zz/tt.html and the like, to get down to a more > reasonable # of files per directory. > Well.. Yea that's the idea.. But what is a reasonable number? 10K 100K etc. Nicole > Or use a single file and a cgi which extracts things from the right place. > In such a context, i assume that the best place to do the name lookup > is in the app, not in the kernel. > > cheers > luigi > >> Assuming FreeBSD 4.0-Stable with Soft Updates, what is a sane number that >> can >> be handled per directory? >> >> >> Thanks!! >> >> Nicole >> >> >> >> >> nicole@unixgirl.com |\ __ /| (`\ http://www.unixgirl.com/ >> webmistress@dangermouse.org | o_o |__ ) ) http://www.dangermouse.org/ >> // \\ >> ---------------------------(((---(((----------------------------------------- >> >> -- Powered by Coka-Cola and FreeBSD -- >> -- Strong enough for a man - But made for a Woman -- >> -- OWNED? MS: Who's Been In/Virused Your Computer Today? -- >> >> ---------------------------------------------------------------------------- >> --- >> >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-hackers" in the body of the message >> nicole@unixgirl.com |\ __ /| (`\ http://www.unixgirl.com/ webmistress@dangermouse.org | o_o |__ ) ) http://www.dangermouse.org/ // \\ ---------------------------(((---(((----------------------------------------- -- Powered by Coka-Cola and FreeBSD -- -- Strong enough for a man - But made for a Woman -- -- OWNED? MS: Who's Been In/Virused Your Computer Today? -- ------------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message