Skip site navigation (1)Skip section navigation (2)
Date:      13 Jan 2003 16:36:06 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Big directory size
Message-ID:  <44bs2kpwah.fsf@be-well.ilk.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
Varshavchick Alexander <alex@metrocom.ru> writes:

> 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?

If the files were created without the dirhash code in your kernel, it
certainly could.  It still could with the dirhash, but shouldn't be
noticeable at the 100,000-file level.

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?44bs2kpwah.fsf>