B18,B19 (NT 4.0): gnu tools are slow

Sergey Okhapkin sos@prospect.com.ru
Thu May 7 03:43:00 GMT 1998


Jonathan Payne wrote:
> I have always noticed that the GNU tools are very slow when it comes to
> accessing the file system.  Recently I ran:
> 
> 	ls d:/
> 
> and it took so long, and the disk was making so much noise, that I decided to
> run a program called NT File Mon which some of you may have heard of.  The thing
> I noticed was that LS was apparently reading all the directories 1-level deep. 
> And I happened to have a directory with 1000+ files in it at the top level, so
> that's why it took even longer than normal.

Cygwin scans every subdirectory to correctly fill-in st_nlinks field of stat structure.


-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia.

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



More information about the Cygwin mailing list