delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/25/14:35:17

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=K1tVIZMy496waccL
2rLhGbN1ssSzVfJTIU4WV5E1OgoxbT6joGWrxMxQ32IDowuqVYBj6e4uCUHBqmjG
43TUVMgrDE9B3h1YVvN5cIGNZ5ddp2u6uSSpFrB0g7v+5OdVoS3fQ22ugb7yToah
nBNKoSD6TX8vRz4kgaOsY1Yu2iw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=8r6xYlhMB9pWxFavrHxyrR
L77j8=; b=LniYpM2p2EnbGnpmrsU89SYyAPtbjTvDPPRwy/Abla0GOL/ERfFgR4
K/3h8XhGp0mA9j1+X1oCminF4riUUr6UBYyk921791HuxDqI8GfpUI1Hs9/bYfy4
mJxvFRDOEUZGiY0GoCOfgnR5kRxjHdx70fDZK1ZSIyQ6esTTlLPzA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=5.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,HELO_LH_HOME,KAM_THEBAT,RDNS_NONE autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Wed, 25 Sep 2013 22:31:02 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1633457612.20130925223102@mtu-net.ru>
To: "Wm. David Bentlage" <slomium+cygwin AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: cp vs copy performance over local network
In-Reply-To: <CAJyLC6sbpLsGXpt2U8u1QOCw+7AhYuo73Q8e2V_K=fu7ujaKkg@mail.gmail.com>
References: <CAJyLC6sbpLsGXpt2U8u1QOCw+7AhYuo73Q8e2V_K=fu7ujaKkg AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

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 AT 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 AT A4826995 /c/Users/Muser
> $ time cp \\\\server\\w\\cygwin.zip .

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

> muser AT 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 AT 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 AT yandex DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019