-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Ondřej Vašík on 8/31/2009 7:07 AM: >> It's a shame to have to pessimize ls -i performance, even by this >> small amount on linux-based kernels, but correctness definitely >> trumps performance, here. > > Yep, it has some performance impact... > checked `time ./ls -i1R /home /dev /usr /var /lib >myinodes with > approximate number of 31k dirs, 450k files on ext3 > > and results are > old binary without the patch: > real 2m5.631s > user 0m3.012s > sys 0m4.815s > > new binary: > real 6m8.560s > user 0m3.947s > sys 0m30.572s
Have we reported this to the Linux developers, along with chapter and verse of POSIX 2008 which shows they are non-compliant? - -- Don't work too hard, make some time for fun as well! Eric Blake [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqdBxoACgkQ84KuGfSFAYCZDACg0neYCnsLF2I4KaWCRrY0SB64 UV4AnjuV87irVDZ7Kd2cbdRlyuewjeDd =Uy+2 -----END PGP SIGNATURE-----
