Jérémy Compostella wrote on 02/06/2012 08:00 PM:
Anyway, you should maybe provide a "strace -c" output in both cases in
order to know
how much would be the speed improvement.

on a directory with 61441 files:

$ strace -c ls -l >/dev/null
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 32.64    0.128275           2     61441           lstat
 27.77    0.109109           2     61441           lgetxattr
 27.46    0.107915           2     61441     61441 getxattr
 11.70    0.045993         613        75           getdents
[...]

Best regards,
Sven

Reply via email to