From owner-freebsd-questions Tue Jan 14 0:49:49 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 CE9FA37B401 for ; Tue, 14 Jan 2003 00:49:47 -0800 (PST) Received: from apache.metrocom.ru (apache.metrocom.ru [195.5.128.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF63A43F1E for ; Tue, 14 Jan 2003 00:49:46 -0800 (PST) (envelope-from alex@metrocom.ru) Received: from apache.metrocom.ru (localhost [127.0.0.1]) by apache.metrocom.ru (8.12.6/8.12.6) with ESMTP id h0E8ni8F016582; Tue, 14 Jan 2003 11:49:44 +0300 (MSK) Received: from localhost (alex@localhost) by apache.metrocom.ru (8.12.6/8.12.6/Submit) with ESMTP id h0E8nhPg016579; Tue, 14 Jan 2003 11:49:44 +0300 (MSK) X-Authentication-Warning: apache.metrocom.ru: alex owned process doing -bs Date: Tue, 14 Jan 2003 11:49:43 +0300 (MSK) From: Varshavchick Alexander To: Daniel Bye Cc: Subject: Re: Big directory size In-Reply-To: <20030113172849.GD7420@catflap.home.slightlystrange.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Yes, talking about a directory entry size, I meant just the size of inode entries, not the summary size of directory contents... ---- Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) On Mon, 13 Jan 2003, Daniel Bye wrote: > Date: Mon, 13 Jan 2003 17:28:50 +0000 > From: Daniel Bye > To: questions@FreeBSD.ORG > Subject: Re: Big directory size > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message