ext4 and extremely slow filesystem traversal

Theodore Ts'o tytso at mit.edu
Wed Mar 13 20:33:46 UTC 2013


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




More information about the Ext3-users mailing list