delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/07/14:32:31

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: B18,B19 (NT 4.0): gnu tools are slow
7 May 1998 14:32:31 -0700 :
Message-ID: <01BD79C2.B2F8AD60.cygnus.gnu-win32@drs>
To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'Jonathan Payne'"
<jpayne AT marimba DOT com>

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019