X-Spam-Check-By: sourceware.org Message-ID: <01f501c65254$796572e0$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: References: <04b601c651b4$a1e9e020$b3db87d4 AT multiplay DOT co DOT uk> <20060328074041 DOT GJ20907 AT calimero DOT vinschen DOT de> Subject: Re: very poor cygwin scp performance in some situations Date: Tue, 28 Mar 2006 11:43:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Spam-Processed: multiplay.co.uk, Tue, 28 Mar 2006 11:43:40 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing AT multiplay DOT co DOT uk X-MDaemon-Deliver-To: cygwin AT cygwin DOT com X-MDAV-Processed: multiplay.co.uk, Tue, 28 Mar 2006 11:43:41 +0100 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 ----- Original Message ----- From: "Corinna Vinschen" > On Mar 27 16:39, Steven Hartland wrote: >> I've done quite a bit of digging and not found any real answers >> on why cygwin's scp performance is so poor. > > Cygwin is just emulating POSIX by calling Windows functions. It's not > an operating system which runs natively on the machine, so what do > you expect? If you're unhappy with scp's performance you can try > using: > > - sftp > > - tar over ssh: > > tar cf - dir-to-copy | ssh remotemachine 'cd targetdir && tar xf -' > > - http://www.psc.edu/networking/projects/hpn-ssh/ Sorry to sound rude but did you even look at the figures I posted? From them I think its fair to say there is nothing to stop cygwin performing quite well in all ssh / scp operations but as it stands there are a number of issues; specifically copying off a cygwin machine from a remote box which atm produces only 700KB/s. The transfer the other way round obtains over 6MB/s which is pretty good although could still possibly see some gains. Always willing to trying things here's the results from your suggestions: sftp provides a small improvement 1.1MB/s tar + ssh is the same as scp 700KB/s I'd already tried hpn but although it compiles fine just instantly disconnects so is unfortunately a none starter. I'm not sure what everyone uses cygwin for but I would be surprised if a large amount of people dont use if for interaction with existing unix systems and as such make heavy use of facilities such as ssh and scp on a daily basis so any work on this would be highly beneficial. I'm quite willing, as hopefully I've show, to put in some ground leg work to try and find a solution to this one but due to my lack of experience both with the core of cygwin and with ssh / scp without some pointers Im not going to make much progress. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster AT multiplay DOT co DOT uk. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/