Re: ext4 and extremely slow filesystem traversal

"Theodore Ts'o" <[email protected]> Wed, 13 Mar 2013 16:33:46 -0400
Newsgroups gmane.comp.file-systems.ext3.user
Message-ID <[email protected]>
On Wed, Mar 13, 2013 at 10:19:52AM +0100, Vincent Caron wrote:
> 
>  3633315 regular files
>  5712586 directories
>        0 character device files
>        0 block device files
>        0 fifos
>        0 links
>        0 symbolic links (0 fast symbolic links)
>        0 sockets
> --------
>  9345901 files (really in-use inodes)

Wow.  You have more directories than regular files!  Given that there
are no hard links, that implies that you have at least 2,079,271
directories which are ***empty***.

The inline data feature (which is still in testing and isn't something
I can recommend for production use yet) is probably the best hope for
you.  But probably the best thing you can do is to harrague your
developers to ask what the heck they are doing....

	      	       	   	- Ted