This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
[Fwd: 1.5.11-1: sftp performance problem]
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: Bob Byrnes <byrnes at curl dot com>
- Cc: cygwin-patches at cygwin dot com
- Date: Fri, 10 Sep 2004 11:01:23 +0200
- Subject: [Fwd: 1.5.11-1: sftp performance problem]
- Reply-to: cygwin-patches at cygwin dot com
Bob,
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?
TIA,
Corinna
----- 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.