Re: Max Files Per Directory

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

 



Hi,

On Sat, Jul 16, 2005 at 03:49:04PM -0400, Tony Nelson wrote:

> Still, the timings above support the idea that lots of files make adding
> and listing slow, and presumably opening a file would be like listing, so
> keeping the number of files per directory modest is probably a good idea.
> Maybe I'll try that experiment as well.

Make sure you're using "htree" directory indexing.  For new
filesystems, that means using the "-O dir_index" option.  For existing
filesystems, "tune2fs -O dir_index" then "e2fsck -fD" to index the
existing directories (do this offline, of course!).

--Stephen


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux