Tuning for large number of directory entries?
Andreas Dilger
adilger at clusterfs.com
Sat Apr 1 18:11:40 UTC 2006
On Apr 01, 2006 09:53 -0500, Huntress Gary B NPRI wrote:
> Since I am writing, you can guess that is not the case. At 13K
> directory entries, I am still seeing significantly slower connection
> times even with the faster hardware and newer software.
You need to run "e2fsck -f -D" when the filesystem is unmounted, to build
htree indices for your large directories.
> My questions are: 1) I don't know much about htree, but I recall
> that it is supposed to help in this situation. How do I tell if it is
> in use on my system. Is it a kernel module or is it compiled into ext3?
"dumpe2fs -h <device> | grep -i features", it's part of stock 2.6 ext3.
Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.
More information about the Ext3-users
mailing list