sftp performance problem, cured by TCP_NODELAY

Markus Friedl markus at openbsd.org
Fri Jan 27 06:08:24 EST 2006

On Thu, Jan 26, 2006 at 10:22:51AM +0100, Miklos Szeredi wrote:
> > http://bugzilla.mindrot.org/show_bug.cgi?id=556 has been there for a
> > while, but nobody commented on it.
> Ah.
> So TCP_NODELAY is already set for interactive sessions.  I hadn't
> noticed that.
> It's actually pretty stupid I think, as Nagle (TCP_NODELAY off) _only_
> makes sense for _interactive_ sessions.

but not for things that send messages around like
ssh does.  however, it probably makes sense to
always disable nagle in ssh.

More information about the openssh-unix-dev mailing list