X-Spam-Check-By: sourceware.org Message-ID: <005a01c651ee$4dd35680$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Pedro Inacio" , "Cygwin List" References: <048501c651b8$0862c1c0$a501a8c0 AT CAM DOT ARTIMI DOT COM> <001401c651d0$872c9090$b3db87d4 AT multiplay DOT co DOT uk> <89F9E813-1E27-4FEE-9359-6C73A8CD871A AT ptnix DOT com> Subject: Re: very poor cygwin scp performance in some situations Date: Mon, 27 Mar 2006 23:32:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Spam-Processed: multiplay.co.uk, Mon, 27 Mar 2006 23:32:14 +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, Mon, 27 Mar 2006 23:32:15 +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: "Pedro Inacio" > I've initiated the post "select() too slow". > The example I've done was a non-blocking tcp echo_server.c and how > slow it was on linux compared with cygwin. > In fact after activation oh tcp_nodelay option the times were similar. > > Meanwhile I've done another test, I've added ssl on top of that > echo_server.c with similar results than on linux, with the > tcp_nodelay set, and the results are again against cygwin binary. > On cygwin is too slow. I just don't know where the problem is. Thanks for that what was interesting with scp was direction had a large impact on performance. On FreeBSD from Cygwin -> FreeBSD 700KB/s On Cygwin from Cygwin -> FreeBSD 1.2MB/s On FreeBSD from FreeBSD -> Cygwin 6.4MB/s So there is definitely performance to be gained. I had a similar problem with a basic perl FTP script uploading from Cygwin to a FreeBSD machine and there simply setting the block size to 8K fixed the issue. Note: From FreeBSD -> FreeBSD the script didn't require said fix but it didn't effect it either. This may be something to look at as well. 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/