sftp performance problem, cured by TCP_NODELAY

Rick Jones rick.jones2 at hp.com
Fri Jan 27 07:10:39 EST 2006


Chris Rapier wrote:
> 
> Miklos Szeredi wrote:
> 
>>>Better logic to control NODELAY usage makes sense. I never looked 
>>>closely at this portion of the code but perhaps it could be triggered by 
>>>a request for remote TTY.
>>
>>That is what the current code does.  And that is the source of the
>>bug, since NODELAY is needed for some non-interactive traffic, like
>>sftp.
> 
> 
> I'm sorry. I must have read the previous messages wrong. I was under the 
> impression that Nagle was being disabled for interactive sessions. Which 
> is silly.

Likely as not overwhelming presure from folks who have things feeding escape 
sequences in one byte at a time, who haven't been bitten then by applications 
doing byte-at-a-time whole screen updates.

rick jones
is on the list, no need to cc in reply




More information about the openssh-unix-dev mailing list