www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/29/14:59:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4A490F0E.6040806@etr-usa.com>
Date: Mon, 29 Jun 2009 12:59:26 -0600
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Call for TESTING (was Re: [1.7.0-50] scp progress counter flies through first 175 MB or so)
References: <2ul445d2cfjj1q2t2viropiikoj70slglb AT 4ax DOT com> <20090625101039 DOT GP7289 AT calimero DOT vinschen DOT de> <20090625140508 DOT GA17040 AT ednor DOT casa DOT cgf DOT cx> <20090625143651 DOT GR7289 AT calimero DOT vinschen DOT de> <20090625145005 DOT GB18338 AT ednor DOT casa DOT cgf DOT cx> <20090628193155 DOT GA10407 AT ednor DOT casa DOT cgf DOT cx> <20090629092857 DOT GZ30864 AT calimero DOT vinschen DOT de> <20090629095322 DOT GD30864 AT calimero DOT vinschen DOT de> <20090629142348 DOT GB19123 AT ednor DOT casa DOT cgf DOT cx> <20090629144030 DOT GC19123 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20090629144030.GC19123@ednor.casa.cgf.cx>
X-IsSubscribed: yes
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

I scp'd a 1.6 GB file back and forth to a Linux server over GigE to a 
fast new RAID-10.  I tested 1.7.0-50 and 20090629.

Results:

On a 32-bit XP box, 1.7.0-50 gives about 15 MByte/sec for both upload 
and download.  (This box can't really hit GigE speeds due to crappy 
cabling and a low-quality switch.)  On switching to the snapshot, the 
download speed is about the same, but upload is cut to 4-5 MB/sec.

On a 64-bit Vista box, 1.7.0-50 gives inconsistent behavior.  Download 
behaves as it should: ~45 MB/sec here, due to better switch and cabling. 
  But, uploading with scp gives the reported behavior: the scp status 
fills out to 100% very fast but then scp doesn't finish running for 
quite a while.  It's like it's buffering a big fraction of the 1.6 GB, 
which isn't impossible, since this box has 12 GB of RAM.  (Core i7, 
DDR3, wheee!)

After switching to the snapshot on that Vista-64 box, the scp progress 
display becomes useful, growing steadily as scp runs.  Unfortunately, my 
upload speed is down to around 5 MB/sec here, just as on the XP box.

A different non-Cygwin scp client I have here can manage much faster 
transfer speeds, so I can rule out disk and network bottlenecks.  The 
slowdowns are in Cygwin itself or the Cygwin scp port.

I can rule out a problem in the general network I/O handling: changing 
the DLL doesn't seem to affect ttcp results materially.  It's either scp 
or the way scp uses cygwin1.dll.

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