X-Recipient: archive-cygwin@delorie.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:subject:to:references:from:cc:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=QswZh0r08evvq+db
	vxJs/r0jGEkTw60SoEGIb9ucsX1tsVGtHhCdY98hfpUkssH8CeCSBonpvAb/9Bwu
	6ncJc/HTU/wZXrp37LlJ5Eh38K87gHON8dwrAZT2/zcdabKKimd8H1EBa6Pi/77c
	XYP1lKg8Oh3Bx2CDwPsHkjp/Izs=
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:subject:to:references:from:cc:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=gHKZGGmCPoFhlpLgs7KP1j
	/JBoA=; b=SwB57xdOJbLG9IuYKaOuXX/GVFvsm/VlYaAQStQeiKvsfc8JuuKpKh
	l4OpEs1g1/dysyux6X/IhCtNlZLpDuvHH4mlweCo4H/lAFXdzl7dBlYza4WW1C62
	i8ul1QKVjPC9wLcmEMfXA8Jykq9YU0c2B1LENROaPElkD8pLqskg4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=fresh, 1g, me!, adjusting
X-HELO: mail-io0-f169.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:subject:to:references:from:cc:message-id:date         :user-agent:mime-version:in-reply-to:content-transfer-encoding         :content-language;        bh=mJRwyPT0lrt1TlN0Nx6gZ9ZyT0XCcHpWOdrTkuP3+Ls=;        b=cAasK7RkYZE6FmTRLEkwTcvmBOcJB+B3lRVsIi3j9X3SXeC6S/tg30s+O0wKSjACGK         9FQGh7QbSNytBO8Y+sw+YX76VntCrEhpAzfRwFFFncHHNPr58zQ4G2JAuu1QcfUeqh6O         NK1fCvdcRCUOJXBvNf+gRfhCmZ3S124/KnfhEDAm3DfwEpGuzv5i0nSg8eiBworWDZ0v         kCjQtGcj2kTA+pgaE1IIFxwIP/ghtelYt1gP7ZZz84kYpYPWxUG2qmnZgCa9/FmFVMAb         M2n5YXjhGFkRRUZyk9nH7H0f6pSnTlJnilHtgbvnlN+uQJxPQpxL+ScITQf4jjTORNTd         tkqQ==
X-Gm-Message-State: ALQs6tBBEnscW3n64mVGo/lcsxRDtwdQ7tgy2HaVpK5h5qFZdXog7igh	HSoltylvFfcUan6U/SsiCE5mmfOk
X-Google-Smtp-Source: AIpwx4+wqdaknG2IQ5Q+nPNdMFBf2lONgbcZC0rW//n6y6aNsfFhLVjpPkt3B3TM048WpiYq0pKLVA==
X-Received: by 10.107.129.148 with SMTP id l20mr129601ioi.140.1523298619561;        Mon, 09 Apr 2018 11:30:19 -0700 (PDT)
Subject: Re: Network Performance?
To: L A Walsh <cygwin@tlinx.org>
References: <a45d39ab-93e1-41d5-22c7-40a61e355fd5@gmail.com> <5AB5825C.8060309@tlinx.org> <5AB6E770.8020603@tlinx.org> <8794ec10-dcee-4ad6-bfe6-3c8c108ca5f6@gmail.com> <5ACAA0E6.5040504@tlinx.org>
From: Jordan Geoghegan <jgeoghegan60@gmail.com>
Cc: cygwin@cygwin.com
Message-ID: <04ef0912-46d6-3332-a3e2-0436e30d1452@gmail.com>
Date: Mon, 9 Apr 2018 11:30:17 -0700
User-Agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <5ACAA0E6.5040504@tlinx.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes
Note-from-DJ: This may be spam

Thanks for testing that for me! I had feared I was having filesytem 
speed issues as seen in WSL, but alas I was wrong. It turns out my issue 
with network performance bottnecks is due to the TCP window size not 
adjusting. Looking at the debug output of ssh, it seems the window size 
adjusts aren't being performed. Strangely enough, when I grabbed a fresh 
machine to test Cygwin on, I am able to get near wire speeds. Very strange.


On 04/08/18 16:08, L A Walsh wrote:
> Jordan Geoghegan wrote:
>> Thanks for the info. Would you be able to test file performance over 
>> the network? If you could just try copying a ~1GB file or what have 
>> you via sftp or rsync with actual writes to disk, I would be very 
>> interested to see how the numbers change.
> ---
>     Here is scp and rsync, using a tar, and a 1g file filled
> with zeros.   Note, my env RSYNC_RSH=ssh
>
>> time scp default-nlaw.tar.7z ishtar:/tmp 
> default-nlaw.tar.7z                           100%   62MB 83.1MB/s   
> 00:00    0.91sec 0.04usr 0.01sys (6.65% cpu)
>> ssh ishtar rm /tmp/default-nlaw.tar.7z
>> time rsync -v default-nlaw.tar.7z ishtar:/tmp/
> default-nlaw.tar.7z
> sent 64,588,267 bytes  received 35 bytes  43,058,868.00 bytes/sec
> total size is 64,572,413  speedup is 1.00
> 0.73sec 0.37usr 0.17sys (74.32% cpu)
> time scp /tmp/1g ishtar:/tmp/ 
> 1g                                            100% 1014MB 72.3MB/s   
> 00:14    15.00sec 0.04usr 0.07sys (0.81% cpu)
>> time rsync -v /tmp/1g ishtar:/tmp/
> 1g
> sent 1,063,515,721 bytes  received 35 bytes  125,119,500.71 bytes/sec
> total size is 1,063,256,064  speedup is 1.00
> 7.57sec 5.95usr 3.40sys (123.54% cpu)
>
>> uname -a
> CYGWIN_NT-6.1 Athenae 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64 Cygwin
>
>
> I generally don't use them to transfer files over a closed
> subnet as the performance is sub-optimal.
>
> -- 
> 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
>


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

