delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/27/18:08:39

X-Spam-Check-By: sourceware.org
Message-ID: <006f01c651f3$40250ab0$b3db87d4@multiplay.co.uk>
From: "Steven Hartland" <killing AT multiplay DOT co DOT uk>
To: "Pedro Inacio" <pedro DOT inacio AT ptnix DOT com>, "Cygwin List" <cygwin AT cygwin DOT com>
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> <005a01c651ee$4dd35680$b3db87d4 AT multiplay DOT co DOT uk> <801E2E71-2C61-46B7-9CEE-77838077FD3E AT ptnix DOT com>
Subject: Re: very poor cygwin scp performance in some situations
Date: Tue, 28 Mar 2006 00:07:36 +0100
MIME-Version: 1.0
X-Spam-Processed: multiplay.co.uk, Tue, 28 Mar 2006 00:07:43 +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 00:07:44 +0100
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

----- Original Message ----- 
From: "Pedro Inacio"


> I'm starting to think that openssl have some performance issues on  
> cygwin.
> my fixed non-blocking echo_server.c with openssl is too slow when  
> compared with the same code compiled on Linux.
> 
> is something like 40ms on Linux to 1040ms on Cygwin.

I've just hacked in a patch to use 8191 as the buffer size in ssh instead
of 16384 and now have the following results:

On FreeBSD from Cygwin -> FreeBSD 650KB/s was 700KB/s 
On Cygwin from Cygwin -> FreeBSD 2.1MB/s was 1.2MB/s
On FreeBSD from FreeBSD -> Cygwin 1.5MB/s was 6.4MB/s

So there may be something to the buffer size impacting performance.

    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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019