public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Time taken for ls -la --color=yes
@ 1999-03-08  8:34 Timothy Reaves
  1999-03-08  9:09 ` Sebastien Carpe
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Timothy Reaves @ 1999-03-08  8:34 UTC (permalink / raw)
  To: cygwin

>If you add the color or F switches then the CYGWIN1.DLL has to
>determine the type of file.  It will be opening every regular file
>listed and reading a line from the file in order to determine the type
>of the file.  You can imagine the overhead involved in this.

No, I guess I can't, as bash under unix does not take this long, and it would have to do the same thing.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 22+ messages in thread
* RE: Time taken for ls -la --color=yes
@ 1999-03-08  8:41 Oelke, Dan
  1999-03-31 19:45 ` Oelke, Dan
  0 siblings, 1 reply; 22+ messages in thread
From: Oelke, Dan @ 1999-03-08  8:41 UTC (permalink / raw)
  To: 'Timothy Reaves'; +Cc: cygwin users

> >If you add the color or F switches then the CYGWIN1.DLL has to
> >determine the type of file.  It will be opening every regular file
> >listed and reading a line from the file in order to determine the
type
> >of the file.  You can imagine the overhead involved in this.
> 
> No, I guess I can't, as bash under unix does not take this long, and
it would have to do the same thing.

Under Unix with a normal unix filesystem, the filesystem stores
attributes about each file.
With FAT filesystem there are no such attributes stored - cygwin has to
figure them out.
In particular, if a file is executable or not has be to guessed at by
reading 
the first few characters of the file.  So, cygwin has to open each file
to 
determine this which doesn't happen under unix.

Dan


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Time taken for ls -la --color=yes
@ 1999-03-08  6:13 Earnie Boyd
  1999-03-31 19:45 ` Earnie Boyd
  0 siblings, 1 reply; 22+ messages in thread
From: Earnie Boyd @ 1999-03-08  6:13 UTC (permalink / raw)
  To: Timothy Reaves, cygwin

---Timothy Reaves <treaves@y11a165.neo.rr.com> wrote:
>
> >>       When I execute this on my machine, a dual PII 266 with 192
meg
> >> memory & a Seagate Cheeta 10,000rpm hard drive, with three other
> >> applications running (Netscape, mail, a data conversion app), it
> >> takes a good 1.5 to 2 seconds to display a directory with fewer
than
> >> 60 entries.
> >> 
> >>       Is this normal?
> >
> >Just the first time, or every time?
> 
>      For a directory with 83 entries, the first display took 2.5
seconds. After that the time was 'normal'.  Dir under a DOS windows
has no perceptable delay.

If you add the color or F switches then the CYGWIN1.DLL has to
determine the type of file.  It will be opening every regular file
listed and reading a line from the file in order to determine the type
of the file.  You can imagine the overhead involved in this.
==
-                        \\||//
-------------------o0O0--Earnie--0O0o-------------------
--                earnie_boyd@yahoo.com               --
-- http://www.freeyellow.com/members5/gw32/index.html --
----------------------ooo0O--O0ooo----------------------

PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Time taken for ls -la --color=yes
@ 1999-03-08  5:45 Timothy Reaves
  1999-03-31 19:45 ` Timothy Reaves
  0 siblings, 1 reply; 22+ messages in thread
From: Timothy Reaves @ 1999-03-08  5:45 UTC (permalink / raw)
  To: cygwin

>>       When I execute this on my machine, a dual PII 266 with 192 meg
>> memory & a Seagate Cheeta 10,000rpm hard drive, with three other
>> applications running (Netscape, mail, a data conversion app), it
>> takes a good 1.5 to 2 seconds to display a directory with fewer than
>> 60 entries.
>> 
>>       Is this normal?
>
>Just the first time, or every time?

     For a directory with 83 entries, the first display took 2.5 seconds. After that the time was 'normal'.  Dir under a DOS windows has no perceptable delay.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Time taken for ls -la --color=yes
@ 1999-03-07 18:31 N8TM
  1999-03-31 19:45 ` N8TM
  0 siblings, 1 reply; 22+ messages in thread
From: N8TM @ 1999-03-07 18:31 UTC (permalink / raw)
  To: treaves, cygwin

In a message dated 3/7/99 5:41:23 PM Pacific Standard Time,
treaves@y11a165.neo.rr.com writes:

<< 	When I execute this on my machine, a dual PII 266 with 192 meg memory & a
Seagate Cheeta 10,000rpm hard drive, with three other applications running
(Netscape, mail, a data conversion app), it takes a good 1.5 to 2 seconds to
display a directory with fewer than 60 entries.
 
 	Is this normal >>

Maybe, under NT.  Not under W95, not even with virus checker running.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Time taken for ls -la --color=yes
@ 1999-03-07 17:39 Timothy Reaves
       [not found] ` < 199903080144.UAA10167@y11a165.neo.rr.com >
  1999-03-31 19:45 ` Timothy Reaves
  0 siblings, 2 replies; 22+ messages in thread
From: Timothy Reaves @ 1999-03-07 17:39 UTC (permalink / raw)
  To: cygwin

	When I execute this on my machine, a dual PII 266 with 192 meg memory & a Seagate Cheeta 10,000rpm hard drive, with three other applications running (Netscape, mail, a data conversion app), it takes a good 1.5 to 2 seconds to display a directory with fewer than 60 entries.

	Is this normal

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~1999-03-31 19:45 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-08  8:34 Time taken for ls -la --color=yes Timothy Reaves
1999-03-08  9:09 ` Sebastien Carpe
     [not found]   ` < 36E40422.157007C1@atos-group.com >
1999-03-08 10:26     ` Henry J. Cobb
1999-03-31 19:45   ` Sebastien Carpe
1999-03-31 19:45   ` Henry J. Cobb
     [not found] ` <199903081826.NAA16303@acestes-fe0.ultra.net>
1999-03-08 10:38   ` Larry Hall (RFK Partners, Inc)
     [not found]     ` < 3.0.5.32.19990308133351.009bb950@pop.ma.ultranet.com >
1999-03-08 11:29       ` Fergus Henderson
1999-03-31 19:45         ` Fergus Henderson
1999-03-31 19:45     ` Larry Hall (RFK Partners, Inc)
1999-03-31 19:45 ` Timothy Reaves
  -- strict thread matches above, loose matches on Subject: below --
1999-03-08  8:41 Oelke, Dan
1999-03-31 19:45 ` Oelke, Dan
1999-03-08  6:13 Earnie Boyd
1999-03-31 19:45 ` Earnie Boyd
1999-03-08  5:45 Timothy Reaves
1999-03-31 19:45 ` Timothy Reaves
1999-03-07 18:31 N8TM
1999-03-31 19:45 ` N8TM
1999-03-07 17:39 Timothy Reaves
     [not found] ` < 199903080144.UAA10167@y11a165.neo.rr.com >
1999-03-07 18:45   ` DJ Delorie
1999-03-31 19:45     ` DJ Delorie
1999-03-31 19:45 ` Timothy Reaves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).