From owner-freebsd-questions Mon Jan 13 9:29: 5 2003 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 9EFE937B401 for ; Mon, 13 Jan 2003 09:29:04 -0800 (PST) Received: from catflap.home.slightlystrange.org (pc1-cmbg1-4-cust43.cmbg.cable.ntl.com [62.253.133.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84BF243E4A for ; Mon, 13 Jan 2003 09:28:58 -0800 (PST) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 18Y8OI-0002UB-00 for questions@FreeBSD.ORG; Mon, 13 Jan 2003 17:28:50 +0000 Date: Mon, 13 Jan 2003 17:28:50 +0000 From: Daniel Bye To: questions@FreeBSD.ORG Subject: Re: Big directory size Message-ID: <20030113172849.GD7420@catflap.home.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Scanner: exiscan *18Y8OI-0002UB-00*gkUlUTXTRoQ* (SlightlyStrange.org, Using NOD32 http://www.nod32.com) 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 Mon, Jan 13, 2003 at 02:45:16PM +0300, Varshavchick Alexander wrote: > Hello, > > I had a directory with a lot of files (about 100 000), and naturally, the > size of the directory entry itself was big enough (about 1M). Now I've > split all these files to different subdirectories, to increase the system > performance. The major directory entry size didn't change, however such a > big value is not needed now. > > Now here is a question - can an unnessesary big value of a directory > entry size harm the system performance? I guess it does not, is it > correct? This is just speculation, but I would imagine the key factor affecting performance would be more to do with the number of inode entries in a given directory, than with the size of the directory's contents. However, I am no file system expert, this is just my gut feeling... -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message