[PATCH] improve performance of stat() operations (e.g. ls -lR)

Christopher Faylor cgf@redhat.com
Sun May 26 15:40:00 GMT 2002

On Sun, May 26, 2002 at 05:50:13PM -0400, Don Bowman wrote:
>The attached patch adds a new CYGWIN environment variable, statquery. This
>causes stat() to use set_query_open(TRUE) all the time, which
>dramatically improves the performance on e.g. ls -lR operations or
>For example, an ls -lR of the 'ntop' distribution goes from 34seconds
>to 2seconds on my computer on a local filesystem. The actual change
>is extremely trivial.

You should get the same effect by mounting directories or files with
either the -E or -X option.  And, the control is more pinpoint than an
environment variable.


More information about the Cygwin-patches mailing list