Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2003 17:28:50 +0000
From:      Daniel Bye <dan@slightlystrange.org>
To:        questions@FreeBSD.ORG
Subject:   Re: Big directory size
Message-ID:  <20030113172849.GD7420@catflap.home.slightlystrange.org>
In-Reply-To: <Pine.GSO.4.33.0301131434550.15910-100000@apache.metrocom.ru>
References:  <Pine.GSO.4.33.0301131434550.15910-100000@apache.metrocom.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030113172849.GD7420>