strace -p PID -ttt -T
Attach and get some timings. The simplest guess is that the system lacks
memory to cache all the inodes
and thus has to hit disk (and more importantly take cluster locks) for the
same inode repeatedly. The user
guide has a section in NOTES explaining this.
On Tue, Dec 4,
1.5 ms per inode. Times 900K files equals 22 mins.
Large dirs are a problem is all file systems. The degree of problem
depends on the overhead. An easy solution around is to shard the
files into multilevel dirs. Like a 2 level structure of a 1000 files in
1000 dirs. Or, a 3 level structure with
Thank you very much for your answers !
[Description : Description : Description : cid:image001.png@01CD01F3.35091200]
Amaury FRANCOIS * Ingénieur
Mobile +33 (0)6 88 12 62 54
amaury.franc...@digora.commailto:amaury.franc...@digora.com
Siège Social - 66 rue du Marché Gare - 67200 STRASBOURG