From owner-freebsd-questions Fri Jun 7 3:30:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by hub.freebsd.org (Postfix) with ESMTP id 7E40837B405 for ; Fri, 7 Jun 2002 03:30:29 -0700 (PDT) Received: from spark.techno.pagans (spark.techno.pagans [4.61.202.145]) by spork.pantherdragon.org (Postfix) with ESMTP id A3129471DA for ; Fri, 7 Jun 2002 03:30:27 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by spark.techno.pagans (Postfix) with ESMTP id 21256FEBE for ; Fri, 7 Jun 2002 03:30:22 -0700 (PDT) Message-ID: <3D008B3C.A5944FF7@pantherdragon.org> Date: Fri, 07 Jun 2002 03:30:21 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: How many files in a directory is "a large number"? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm building a file archive, and I know that when you have a large number of files in directory, that lookups get really slow. I've only ever heard people say "a large number." No real qualification. How many files can one have before the slow downs become readily apparent? Thousands? Tens of thousands? Millions? I need to know in order to set my archive with as few segmentations in the collections as possible without running into excessively slow lookups. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message