-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Feb 17, 2016 at 08:13:23PM +0100, Chris wrote: > Dear All, > > is it possible to save 5000 folders in the same directory (ext4 FS) > without any performance issues?
I think ext3/ext4 should take that without problems. This is on my netbook, not particularly fast disk (LUKS encrypted): tomas@rasputin:~$ mkdir foo tomas@rasputin:~$ cd foo tomas@rasputin:~/foo$ time ( for i in $(seq 0 4999) ; do touch $i ; done ) real 0m21.767s user 0m5.324s sys 0m3.824s tomas@rasputin:~/foo$ time touch bar real 0m0.006s user 0m0.000s sys 0m0.000s tomas@rasputin:~/foo$ time ls 3795 3795 real 0m0.007s user 0m0.004s sys 0m0.004s tomas@rasputin:~/foo$ tomas@rasputin:~/foo$ cd .. tomas@rasputin:~$ time rm -Rf foo real 0m0.122s user 0m0.000s sys 0m0.116s The creation time averages to 4.35 ms, btw. Such big directories were a problem before dirhashes were introduced in ext3, if memory serves. regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbE37QACgkQBcgs9XrR2kZSRQCdHMN30g1CDhsbuXUBvWb19IYt TYMAnjSCN/pzZFJcSq51rsVvn7lsrGVR =uFXj -----END PGP SIGNATURE-----