sftp performance problem, cured by TCP_NODELAY

Chris Rapier rapier at psc.edu
Fri Jan 27 06:13:28 EST 2006

  >>> Well, currently the software is doing the wrong decision, and I'm not
>>> entirely convinced, that there is any other valid heuristic than to
>>> turn NODELAY on unconditionally.
>> hurm... because the ssh code is basically unaware of what the client, in 
>> this case sftp, is actually doing, right? So unless a switch is passed 
>> you can't identify the specific needs of the client?
> Yes.  But setting NODELAY by default seems a good idea regardless.

Well, since its basically made for interactive session and interactive 
session have it disabled as it is then why not? Its easy enough to 
implement but honestly, I don't think its a very elegant solution.

More information about the openssh-unix-dev mailing list