Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2003 23:37:14 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: What is a practical max nujmber of files in a directory
Message-ID:  <20030311053714.GG34011@dan.emsphone.com>
In-Reply-To: <3E6D6A0F.5040704@potentialtech.com>
References:  <3E6D6A0F.5040704@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 10), Bill Moran said:
> Question for the gurus or anyone who has done any test on filesystem
> performance.
> 
> Where is the point at which a directory has too many files in it?
> Mainly with regard to performance degredation?

It Depends

http://www.cnri.dit.ie/Downloads/fsopt.pdf has a nice rundown of the
performance benefits of softupdates, dirhash, dirpref, and vmiodir for
different benchmarks (including tests on directories with up to 20000
files).  vmiodir and dirpref are now on by default, but the results for
softupdates and dirhash are still useful.

-- 
	Dan Nelson
	dnelson@allantgroup.com

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?20030311053714.GG34011>