Cygwin Filesystem Performance degradation 1.7.5 vs 1.7.7, and methods for improving performance

Corinna Vinschen
Fri Sep 10 18:40:00 GMT 2010

On Sep 10 13:23, Christopher Faylor wrote:
> On Fri, Sep 10, 2010 at 05:08:40PM +0200, Corinna Vinschen wrote:
> >What I'm still mulling over is a good idea to re-use the results of a
> >former call to readdir in a stat call.  One problem here is to make sure
> >that a subsequent stat call is *really* accessing the same file as the
> >former readdir returned.
> I've considered that before but you really can't cheaply determine that
> the file hasn't changed without going to the OS.  And, then it isn't cheap.

Yes, that's what it always comes down to.  That's why I'm considering to
restrict this speedup to fstatat.  I wrote more about this on the
cygwin-developers list.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

More information about the Cygwin-patches mailing list