OpenSSH
[Top] [All Lists]

Re: Nagle & delayed ACK strike again

To: Miklos Szeredi <miklos@szeredi.hu>
Subject: Re: Nagle & delayed ACK strike again
From: Rick Jones <rick.jones2@hp.com>
Date: Wed, 20 Dec 2006 13:58:20 -0800
Cc: openssh-unix-dev@mindrot.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <E1Gx45V-00052p-00@dorka.pomaz.szeredi.hu>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
References: <E1Gx45V-00052p-00@dorka.pomaz.szeredi.hu>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
User-agent: Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.7.13) Gecko/20060601
Miklos Szeredi wrote:
> This time the problem is that the ssh server only sets TCP_NODELAY for
> interactive (tty) sessions or if X11 forwarding is enabled.  Neither
> of which are true for the use of the sftp subsystem.  This hurts
> upload performance for sftp/sshfs.
> 
> I'm not sure why this hasn't cropped up earlier.  Were there any
> TCP_NODELAY related changes in the sshd code recently?
> 
> Is there a reason not to enable NODELAY unconditionally?  Any reason
> why the server end is different from the client (where NODELAY is now
> uncoditionally enabled) in this respect?

I suspect that past discussions might be interesting reads - should be 
an an archive somewhere I suspect.

My personal stance is that 99 times out of ten, if an end-user 
application speeds-up when it sets TCP_NODELAY, it implies the end-user 
application is broken and sending "logically associated" data in 
separate send calls.

Now, if something is simply acting as a pipe, and passing along what it 
is given, then the above is not my opinion.  But then, when something is 
acting as a pipe, it isn't what I would call the "end-user application" 
- it is part of the plumbing in the middle.

rick jones
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>