This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

find, ls and wildcard expansion performance issues


I'm sure everyone allready knows this, but in an effort to
properly document and report this problem, I am making this
posting.

Many utilities exhibit severe file system performance problems.

Example 1: find . -name '*.EXE' -print
Example 2: ls -l   #Even worse on network drives
Example 3: echo *.EXE */*.EXE
Example 4: du .

The patched cygwin.dll in 'coolview' helps quite a bit,
but still....

In example 1, the simliar command 'dir *.EXE /s' run on NT
is 15 - 20 times faster on network drives and 12-15 times
faster on local drives (according to my tests anyway).  We are
talking here of 'DIR' times in seconds, and find or ls times
in minutes!

In order to try and isolate the problem, I booted LINUX and
did the exact same find as in Example 1.  I was expecting times
like those for DIR, but was surprised to discover that 'find'
under LINUX was 3-4 times slower than 'DIR' under NT.

Well that takes some of the problem away from gnuwin32, but
not very much of it!

I think solving this problem should be one of the top priority
items for the next release.

---
Bruce Hunsaker - bruceh@ieighty.net

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]