Re: Tuning for large number of directory entries?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________

Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux