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]

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


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".


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