very poor cygwin scp performance in some situations

Steven Hartland killing@multiplay.co.uk
Tue Mar 28 00:14:00 GMT 2006


----- 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@multiplay.co.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/



More information about the Cygwin mailing list