1.5.20-1: ls -F slowness

Scott Roland scott.roland@scs.ch
Wed Nov 15 13:40:00 GMT 2006


I tracked down my problems with an ls -F on a network share taking a
very long time.

If I use cygwin version 1.5.19-4 from the time machine:
  ftp://www.fruitbat.org/pub/cygwin/circa/2006/06/11/081007
then an ls -F operation takes a couple of seconds.

If I then upgrade to version 1.5.20-1 from the time machine:
  ftp://www.fruitbat.org/pub/cygwin/circa/2006/07/02/093005
cygwin is the only package that gets updated, but now the same operation
takes a couple of minutes (over 100 times slower).

The slow ls -F also occurs with the latest release. A vanilla ls does
not take a long time.

I have attached a couple of lines from an strace of the ls -F on the
1.5.19-4 and 1.5.20-1 versions. There are a couple of differences in the
strace, but the slowdown can be seen on the following step, which takes
over 700 times as long:
  fhandler_base::set_flags: flags 0x110000, supplied_bin 0x10000

Does anyone have any insight on why things got dramatically slower with
version 1.5.20-1?

Thanks.
-- 
Scott Roland                              B.S. El.-Ing.
Supercomputing Systems AG                 www.scs.ch
Technoparkstrasse 1                       Telefon + 41 (0)43 456 16 47
CH-8005 Zürich SWITZERLAND                Fax     + 41 (0)43 456 16 10
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lsf_trace-1.5.20-1.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20061115/4f63008f/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lsf_trace-1.5.19-4.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20061115/4f63008f/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck-1.5.20-1.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20061115/4f63008f/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list