This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cp vs copy performance over local network
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: "Wm. David Bentlage" <slomium+cygwin at gmail dot com>, cygwin at cygwin dot com
- Date: Wed, 25 Sep 2013 22:31:02 +0400
- Subject: Re: cp vs copy performance over local network
- Authentication-results: sourceware.org; auth=none
- References: <CAJyLC6sbpLsGXpt2U8u1QOCw+7AhYuo73Q8e2V_K=fu7ujaKkg at mail dot gmail dot com>
- Reply-to: Andrey Repin <cygwin at cygwin dot com>
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