"James Youngman" <[EMAIL PROTECTED]> wrote: > On 8/22/07, Eric Blake <[EMAIL PROTECTED]> wrote: >> At this point, since we are about to create a stable 4.4 branch where the >> fts()-based find works, do we still need to worry about the home-grown >> oldfind, which still has the bug? > > Yes, for the time being, I think so. I believe that last time I > measured it, the fts() based version was measurably slower. But the > outstanding bug is problematic.
Hi James, When you measured that, did the system you used have sufficient openat support? If not, you probably saw the performance penalty of the openat/fstatat/etc. wrapper functions that simulate the syscalls -- probably via /proc/self/fd/%d/%s. If you run timings on a losing kernel/libc combination, you should expect a performance penalty. Jim