This is the mail archive of the cygwin 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]
Other format: [Raw text]

ls and completion very slow in root dir of a windows drive


Hello,

Since my most recent cygwin upgrade today executing a ls in the directories is very slow. Also completion, for example cd Prog [hitting tab] lasts about 20 seconds to expand to Program\ Files. 

Before that aupdate i had an about 2 months old cygwin 1.7 - the ls behaviour was ok. 
Now cygwin1.dll is version: 1007.5.0.0.


Measuring the times:

in /cygdrive/c/

$ time ls
AUTOEXEC.BAT            IDE           Perl                                           WINDOWS            cygwin
BMWApps                 IO.SYS        Program Files                                  Win32App           cygwin1_7
BOOT.BAK                Install       Python25                                       XL Driver Library  ntldr
MSDOS.SYS     RECYCLER                                       boot.ini           pagefile.sys
CONFIG.SYS              MSOCache      System Volume Information                      cmdcons            temp
Documents and Settings  NTDETECT.COM  TAF                                            cmldr              tmp_pic
                 Oracle        Verkn??pfung mit Lokaler Datentr??ger (C).lnk  ctapi_out_gr.txt

real    0m16.313s
user    0m0.030s
sys     0m0.015s

or 

in /cygdrive/d/
#time ls
VC_RED.MSI     eula.1042.txt         install.res.1031.dll  musikbkp
78286fb703a988b923                 VC_RED.cab     eula.2052.txt         install.res.1033.dll  
eula.1028.txt  eula.3082.txt         install.res.1036.dll  short
eula.1031.txt  globdata.ini          install.res.1040.dll  temp
Recycled                           eula.1033.txt  imgs_fuer_Florian     install.res.1041.dll  vcredist.bmp
SSSDecoder.log                     eula.1036.txt  install.exe           install.res.1042.dll
System Volume Information          eula.1040.txt  install.ini           install.res.2052.dll
Traces                             eula.1041.txt  install.res.1028.dll  install.res.3082.dll

real    0m12.172s
user    0m0.030s
sys     0m0.015s




Doing a ls in a subdirectory needs much less time:
# time ls
(Folder list)

real    0m0.062s
user    0m0.046s
sys     0m0.015s


The performance in subdirectories is ok.  Also mounted network drives are very slow in main directory, but fast in subdirs.


Is this a known issue?


Regards,

Simon
-- 
GRATIS fÃr alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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