[PATCH] Improving sftp client performance
Tobias Ringstrom
tori at ringstrom.mine.nu
Sun Jan 6 19:54:59 EST 2002
On Sat, 5 Jan 2002, Kevin Steves wrote:
> On Sat, 5 Jan 2002, Tobias Ringstrom wrote:
> :The problem is the Nagle algorithm. Adding TCP_NODELAY to both ssh and
> :sshd makes them fly. Adding a flag to ssh that turns off Nagle would be
> :easy. I wonder what the best way is to to turn it off on the server side.
>
> is the problem that we are not doing >=MSS size sends?
Yes. The read requests and write responses are very small, typically a
few tens of bytes. Since we are sending packets over the TCP link, and
latency is important, Nagle should not be used.
/Tobias
More information about the openssh-unix-dev
mailing list