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]

[2.2.1-1] ls -l very slow on network drives


ls with the -l flag is very slow for me on network shares, around 10
seconds for a directory with 500 files. Accessing the share as UNC or
mapped drive makes no difference. The share is on a Synology
Diskstation. See attached for cygcheck and straces.

Is it normal for it to be this slow?

Thanks,
Jeremy

$ uname -a
CYGWIN_NT-6.1-WOW THINKPAD 2.2.1(0.289/5/3) 2015-08-20 11:40 i686 Cygwin

$ ls | wc
    502     502    3455

$ time /bin/ls >/dev/null
real    0m0.099s
user    0m0.000s
sys     0m0.061s

$ time /bin/ls -l >/dev/null
real    0m11.626s
user    0m0.062s
sys     0m4.445s

$ touch foo
$ strace /bin/ls foo >ls_foo.strace
$ strace /bin/ls -l foo >ls_-l_foo.strace

Attachment: ls_-l_foo.strace
Description: Binary data

Attachment: cygcheck.out
Description: Binary data

Attachment: ls_foo.strace
Description: Binary data

--
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]