[PATCH] Improving sftp client performance

Tobias Ringstrom tori at ringstrom.mine.nu
Sun Jan 6 20:08:07 EST 2002


On Sat, 5 Jan 2002 mouring at etoh.eviladmin.org wrote:

> On Sat, 5 Jan 2002, Tobias Ringstrom wrote:
> 
> > The problem is the Nagle algorithm. [...]
> 
> This is a current topic else where on the two OpenSSH lists.   I believe
> we don't want TCP_NODELAY for tty sessions, but maybe we can disable it
> on all non-tty sessions.  That would handled the client side.   As to the
> server side there is talk about using TCP_NODELAY everywhere.

That would be the complete opposite of the current situation, right?  
Using Nagle for tty sessions would mean fewer packets on the network, but
more latency.  Increasing latency for typing sounds really bad, especially
since typing is so slow that it will not be a noticable utilization of any
sane network.

/Tobias




More information about the openssh-unix-dev mailing list