This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cp vs copy performance over local network
- From: "Wm. David Bentlage" <slomium+cygwin at gmail dot com>
- To: Cygwin <cygwin at cygwin dot com>
- Date: Wed, 25 Sep 2013 12:17:59 -0500
- Subject: cp vs copy performance over local network
- Authentication-results: sourceware.org; auth=none
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