delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/25/13:18:36

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:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=NYLz4e4QzW471kFdanZyvntQmUTmO
/SoKxr87JJ4mEA+ZX/i+TJzNpYVLMY73nT4g6QGLGHNxIEi+VmZ62moZ2TFh+UF9
P5AzS316m4IWUdRcOIMxzPJaT2/HsJGLKmhW3ma0k7UgEde0DsAKVQmwlZTGGEmq
OnfqXsWFj54PLc=
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:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=AmCCL9QvU5t3HUpVacIIAbToMA0=; b=xaF
ZnuvHYvJStg6G4IdYcLCDrSVF4zXeGdjdlu0LEIdF6e7sjDktL89jp+WtGQwZaWT
h/Ayut5iJFCPwz1VO/+lSqe5xOffvmKXlnh7UbTbg1zcBgK+NpKe8QHVbrjsV0Nd
OQ8269+CdIwC1nHu6d+gwnKJY7IfZE9P5qyJwtM0=
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: No, score=0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,NO_RELAYS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f47.google.com
X-Received: by 10.180.73.40 with SMTP id i8mr23771359wiv.37.1380129499722; Wed, 25 Sep 2013 10:18:19 -0700 (PDT)
MIME-Version: 1.0
From: "Wm. David Bentlage" <slomium+cygwin AT gmail DOT com>
Date: Wed, 25 Sep 2013 12:17:59 -0500
Message-ID: <CAJyLC6sbpLsGXpt2U8u1QOCw+7AhYuo73Q8e2V_K=fu7ujaKkg@mail.gmail.com>
Subject: cp vs copy performance over local network
To: Cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

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

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?

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

- Raw text -


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