Re: ext3 filesystem performance issues

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

 




On Wed, 12 Sep 2007, aragonx@xxxxxxxxxx wrote:

I'm wondering at what point ext3 starts having issues with number of files
in a directory.

For instance, will any of the utilities fail (ls, mv, chown etc) if you
have more than x files in a directory?

At what point does things really start slowing down?

I was told by a coworker that all UNIX varieties have to do an ordered
list search when they have to preform any operations on a directory.  They
also stated that if there is more than 100k files in a directory, these
tools would fail.

This seems like a low number to me but I was looking for some expert
analysis.  :)

Thanks
Will


I don't think that the tools fail, as much as the command length is exceeded. Take for example this test log:

$ time du -sh
9.3G    .

real    0m5.609s
user    0m0.024s
sys     0m0.544s
$ time ls *|wc
bash: /bin/ls: Argument list too long
      0       0       0

real    0m0.578s
user    0m0.527s
sys     0m0.051s
$ time ls|wc
  81000   81000 1376689

real    0m0.652s
user    0m0.541s
sys     0m0.066s

Note also that the filesystem features for the mounted ext3 volume are:

has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file

ed

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux