This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fwd: 1.5.11-1: sftp performance problem]


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]