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:from:subject:to:message-id:date:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=LRa
	8XehDxkvdP5pazfk11R7Lj8BoPzNPsBgOXX9KS9zqEfmfVFHG1eQ/48wu/6n6Yzk
	sOi5hdb+r2GENRM+izD247+5Vs3omqfTTIWn1Pr7vFndKE8JXycKrXOxrxx/umuG
	bgHs3GCQYEfiPWUulmYb7t0Vi1fJwjMzkzEC0cbY=
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:from:subject:to:message-id:date:mime-version
	:content-type:content-transfer-encoding; s=default; bh=sqP/PmwS6
	tW/++qUekARN1krnRw=; b=eV05te+nOcJuq29TJK1rqtZ6Em+/PA/QwS/ts/l/1
	xacBoYV9tCef1sdZOiZIEgUt8/giytUgYfFwfkSXaHwPrmqC0HgZ2cnXwyzmAWUt
	ySpxbq1HhQ/Hy6waLH318wSACtKjh1/CAvpolEdx4coqiy5qEtiYxXtCxIMhHHnY
	ns=
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=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=fastest, transferring, offerings, Hx-languages-length:1917
X-HELO: mail-vk0-f43.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:from:subject:to:message-id:date:user-agent         :mime-version:content-transfer-encoding:content-language;        bh=yq8rdXWXh7RtHd8W62714vG9zsUtogYgpELSYpxjt7w=;        b=Lrfn30zLOryjLdCa6TAdVdTyIfH3Vjjctz54qYOx2b+Qkm5ueRXYo5uD29N61d+Jay         5r01whoaqAiCrTkUviAkJOgHjc5x/e3nLBKcvije0jDIIqTsultI0GTDm9U5gwtaaGmf         QPqu57/1dgU9JNjmoNbMKkOjs0ra41//5Vy2dvL2ijdoKqDaQgf0GxXdtinZgvSwRUJu         sWfpgo1+F4RDagLrmg1z5HlFiPEnsIA1erjz2H7KLWMRFCtRdeo7TuX10118yhgkegyX         Lu7rd0J9WuA5sW56vSiSQpEIFuo/QNJfV/u9VuRgBIkq/l2/QaayxdqtpaufU6vTJQnS         pwQg==
X-Gm-Message-State: AElRT7GNqH78xVvh5kB7jjWKRWd9JSI9Ura6ZXCnAoeNWlxUgcKP+axA	5XwZykNESxCwIKbmVOfSElY=
X-Google-Smtp-Source: AG47ELsXY+sWby1EpZ5t68wQO4jkAG+vEEX53Nff3HGcdBEx1y1dKC+T2GW+R4oeRj8O+EuEo8zKZQ==
X-Received: by 10.31.107.15 with SMTP id g15mr19534242vkc.2.1521844090144;        Fri, 23 Mar 2018 15:28:10 -0700 (PDT)
From: Jordan Geoghegan <jgeoghegan60@gmail.com>
Subject: SSH/SFTP Network Performance?
To: cygwin@cygwin.com
Message-ID: <a45d39ab-93e1-41d5-22c7-40a61e355fd5@gmail.com>
Date: Fri, 23 Mar 2018 15:28:07 -0700
User-Agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Hi folks,

First time poster here. I was hoping others could weigh in with their 
experiences running an ssh/sftp server from Cygwin.

tl;dr

Has anyone ever successfully transferred 150Mbps or more over the 
network using scp/sftp/rsync etc on Cygwin?

For a more in depth explanation, see below:


I have been experimenting with transferring data from my Windows 
machines through various methods, and was hoping to use rsync as that is 
what I use for backing up my other machines. During my testing, I have 
unfortunately been unable to push more than ~8MB/s (~60 megabits per 
second) regardless of the cipher (aes-gcm, aes-ctr, chacha20 etc) or 
transfer method (scp, sftp or rsync). All of them seem to be hitting 
some sort of bottleneck, with sftp being marginally faster than the others.

I am backing up to an OpenBSD file server on the local LAN. Using 
OpenBSD ---> OpenBSD (or Linux, MacOS etc) I can saturate the 1Gbit 
interface no problem. When using the built in Windows file sharing, I 
can also saturate the interface.

The fastest ssh transfer speed I have managed from Windows has been 
using various proprietary offerings such as the Bitvise ssh server or 
the SSH NetDrive sftp network drive mounter utility. Both of these tools 
also seem to hit some sort of bottlneck, though around ~18MB/s (~150 
megabit max as per Task Manager) for Bitvise, and around ~24MB/s (~200 
megabit max) with SSH netdrive.

Task Manager shows less than 5% cpu and disk usage, with only a slight 
bump up to 7% when using chacha20, I presume due to the lack of AES-NI 
for chacha. The machine is an i3 with an SSD and an Intel NIC so I am 
scratching my head as to what the issue could be. Cygwin will saturate 
my my 150Mbit WAN link in any direction over https no problem as well, 
which is interesting.

So, that's my story. Has anyone had any luck pushing beyond 150 megabits 
via ssh from/to Cygwin?



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

