[Fwd: 1.5.11-1: sftp performance problem]

Corinna Vinschen vinschen@redhat.com
Fri Sep 10 09:00:00 GMT 2004


this problem is easily reproducible with sftp.  It seems to be in some
way related to your pipe patch.

Due to speed considerations, Cygwin's implementation of OpenSSH uses
pipes for local IPC instead of socketpairs.  I switched back the whole
OpenSSH suite to use socketpairs and the problem disappears.  Getting
a 1.4Megs file takes about a minute when using pipes, a split second
when using socketpairs.  For some reason only receiving files is affected,
not sending.

Would you mind to have a look into that?  Or is that perhaps a problem
solved by one of your upcoming patches?


----- Forwarded message from Peter Siebold -----
> Date: Thu, 9 Sep 2004 13:46:50 -0700
> From: "Peter Siebold"
> Subject: 1.5.11-1: sftp performance problem
> To: Cygwin list
> I updated to the newest version of cygwin dll on 9/7/4 and after sftp
> suffered performance issues when issuing a get on a large file.  File
> transfers now stall and do not complete.  After downgrading to version
> of 1.5.10-3 of cygwin sftp then it works fine.
> Both configurations used openssh 3.9p1-1
> This is the first time reporting a problem, so I hope I didn't miss
> anything.
> -Pete
----- End forwarded message -----

Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

More information about the Cygwin-patches mailing list