cp vs copy performance over local network

Wm. David Bentlage slomium+cygwin@gmail.com
Wed Sep 25 17:20:00 GMT 2013


Greetings,

I've often noticed that there's a big difference in the performance
between Cygwin cp and Windows copy over the local network -- cp
usually takes twice as long for the same operation.  Here's an
example:

muser@A4826995 /c/Users/Muser
$ time cmd /c copy \\\\server\\w\\cygwin.zip .
        1 file(s) copied.

real    0m7.344s
user    0m0.015s
sys     0m0.046s

muser@A4826995 /c/Users/Muser
$ time cp \\\\server\\w\\cygwin.zip .

real    0m18.559s
user    0m0.046s
sys     0m2.432s

muser@A4826995 /c/Users/Muser
$ uname -a
CYGWIN_NT-6.1-WOW64 A4826995 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin

muser@A4826995 /c/Users/Muser
$ ls -lh cygwin.zip
-rw-r--r-- 1 muser Users 513M Sep 25 11:47 cygwin.zip

Why is this?  Is there something I can do to increase the performance of cp?

Thanks,
Dave

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



More information about the Cygwin mailing list