Subject: Re: rdist and net.inet.tcp.ack_on_push=1
To: Jesse Off <jesseoff@yahoo.com>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-net
Date: 06/14/2003 14:36:04
On Saturday, June 14, 2003, at 02:29 PM, Jesse Off wrote:
> Well, rdist uses rsh, so I couldn't really change it
> in rdist itself, but I did change both machine's
> rsh/rcmd and rshd to use TCP_NODELAY and sure enough,
> got the time down from 10 minutes to 25 seconds
> without using ack_on_push=1. Would changing
> rcmd()/rshd to use TCP_NODELAY by default be
> appropriate? Changing just the descriptor the local
> rdist gets from rcmd() to TCP_NODELAY results in a
> slight speedup from 10 minutes to 5 minutes.
Yah, that's probably a reasonable change to make (I think ssh uses
TCP_NODELAY, as well).
Since you have a CVS account, I'd say go ahead and just check in the
necessary changes.
-- Jason R. Thorpe <thorpej@wasabisystems.com>