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]

Re: cp vs copy performance over local network


Greetings, Wm. David Bentlage!

> 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

Is this the same for x86_64 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?


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 25.09.2013, <22:30>

Sorry for my terrible english...


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