From owner-freebsd-hackers Thu Jun 22 0:42:53 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id 0208437C1B3 for ; Thu, 22 Jun 2000 00:42:50 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id RAA06568; Thu, 22 Jun 2000 17:11:46 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 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 17:11:46 +0930 (CST) From: "Daniel O'Connor" To: Luigi Rizzo Subject: Re: How many files can I put in one diretory? Cc: hackers@FreeBSD.ORG, "Nicole Harrington." Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 22-Jun-00 Luigi Rizzo wrote: > 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. > > 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. Yeah.. This is why databases where invented :) FYI 40000 in a directory really makes directory listings slow.. 2 million would suck :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message