X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_50 X-Spam-Check-By: sourceware.org Date: Tue, 30 Jun 2009 14:23:41 -0500 From: Brian Ford Reply-To: cygwin AT cygwin DOT com 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) In-Reply-To: <4A4A3B64.4030004@etr-usa.com> Message-ID: References: <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> <4A490F0E DOT 6040806 AT etr-usa DOT com> <20090630112617 DOT GS30864 AT calimero DOT vinschen DOT de> <4A4A3B64 DOT 4030004 AT etr-usa DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, 30 Jun 2009, Warren Young wrote: > Corinna Vinschen wrote: > > What's still not clear is why the ssh process takes so much CPU. > > Too many buffer copies? It takes a surprising amount of CPU power to > fill a gigabit pipe from userland. Double or triple that workload with > unnecessary copies, and there goes your transfer rate, evaporating on > the wind. Even more so for context switches ;-): http://www.cygwin.com/ml/cygwin-developers/2007-10/msg00040.html although this performance penalty was removed from read/write and friends: http://www.cygwin.com/ml/cygwin-developers/2007-12/msg00004.html it is still present for send/recv and friends. I'd be happy to make a donation or organize a fund raising effort if it would help to find a work around for this long standing performance issue. -- Brian Ford Staff Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained crew... -- 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