X-Recipient: archive-cygwin@delorie.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@etr-usa.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Call for TESTING (was Re: [1.7.0-50] scp progress counter flies  	through first 175 MB or so)
References: <2ul445d2cfjj1q2t2viropiikoj70slglb@4ax.com> <20090625101039.GP7289@calimero.vinschen.de> <20090625140508.GA17040@ednor.casa.cgf.cx> <20090625143651.GR7289@calimero.vinschen.de> <20090625145005.GB18338@ednor.casa.cgf.cx> <20090628193155.GA10407@ednor.casa.cgf.cx> <20090629092857.GZ30864@calimero.vinschen.de> <20090629095322.GD30864@calimero.vinschen.de> <20090629142348.GB19123@ednor.casa.cgf.cx> <20090629144030.GC19123@ednor.casa.cgf.cx>
In-Reply-To: <20090629144030.GC19123@ednor.casa.cgf.cx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
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

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

