From owner-freebsd-questions Tue Sep 10 8:21:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A097137B400 for ; Tue, 10 Sep 2002 08:21:06 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B73643E3B for ; Tue, 10 Sep 2002 08:21:05 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g8AFKuUc018636; Tue, 10 Sep 2002 16:20:56 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g8AFKoTM018635; Tue, 10 Sep 2002 16:20:50 +0100 (BST) Date: Tue, 10 Sep 2002 16:20:50 +0100 From: Matthew Seaman To: Jean-Yves Lefort Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Directory containing many files Message-ID: <20020910152050.GA18500@happy-idiot-talk.infracaninophi> References: <20020910132907.1aabde58.jylefort@brutele.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020910132907.1aabde58.jylefort@brutele.be> User-Agent: Mutt/1.5.1i 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 On Tue, Sep 10, 2002 at 01:29:07PM +0200, Jean-Yves Lefort wrote: > Hi, > > $ ls | wc -l > 16484 > > Can some problems arise by having that many files in one single > directory? Actually, the directory is a MH folder containing > freebsd-questions :) Since 19 December 2001, the GENERIC kernel from RELENG-4 has included 'options UFS_DIRHASH', as documented in LINT: # Directory hashing improves the speed of operations on very large # directories at the expense of some memory. options UFS_DIRHASH See the original announcement in http://docs.freebsd.org/cgi/getmsg.cgi?fetch=18975+0+archive/2001/freebsd-fs/20010624.freebsd-fs So, no, that shouldn't be a problem. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message