Subject: rdist and net.inet.tcp.ack_on_push=1
To: None <tech-net@netbsd.org>
From: Jesse Off <jesseoff@yahoo.com>
List: tech-net
Date: 06/13/2003 12:52:57
--0-2011595327-1055533977=:56422
Content-Type: text/plain; charset=us-ascii
Content-Id: 
Content-Disposition: inline

Thought I'd share an observation I noticed today while
using rdist.  I have two identically configured (same
hardware also) netbsd 1.6 machines on the same 100Mb
switched LAN running and one machine is rdist'ing its
/usr tree to the other.  However, the rdist is
basically a no-op because the directories are already
in sync.  There is still a fair amount of network
traffic going on as the two servers communicate each
file's timestamp in a very chatty, small-packet way.  
Normally, the rdist takes 10 minutes, but if I set the
ack_on_push=1 sysctl on both computers, it takes 25
seconds.  What seems to be happening is spurious .2
second time spans where no packet is transmitted, then
one machine sends an ack, then the two machines push
2-10 more packets then freeze again for another .2
seconds.  I've attached a tcpdump snippet where the .2
second spans are obvious.

What do you think, am I running into some strange
packet drop condition specific to my network
switch/ethernet cards or some grander issue in the
TCP/IP stacks dealing with delack handling?

//Jesse Off

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--0-2011595327-1055533977=:56422
Content-Type: text/plain; name="1.txt"
Content-Description: 1.txt
Content-Disposition: inline; filename="1.txt"

12:36:17.991144 10.0.1.186.514 > 10.0.1.1.704: P 193:195(2) ack 419 win 32850 <nop,nop,timestamp 143 143> (DF)
12:36:17.991395 10.0.1.1.704 > 10.0.1.186.514: P 419:422(3) ack 195 win 32850 <nop,nop,timestamp 143 143> (DF)
12:36:17.991500 10.0.1.186.514 > 10.0.1.1.704: P 195:197(2) ack 422 win 32850 <nop,nop,timestamp 143 143> (DF)
12:36:18.183591 10.0.1.1.704 > 10.0.1.186.514: . ack 197 win 32850 <nop,nop,timestamp 143 143> (DF)
12:36:18.183644 10.0.1.186.514 > 10.0.1.1.704: P 197:199(2) ack 422 win 32850 <nop,nop,timestamp 144 143> (DF)
12:36:18.183874 10.0.1.1.704 > 10.0.1.186.514: P 422:424(2) ack 199 win 32850 <nop,nop,timestamp 143 144> (DF)
12:36:18.380045 10.0.1.186.514 > 10.0.1.1.704: . ack 424 win 32850 <nop,nop,timestamp 144 143> (DF)

--0-2011595327-1055533977=:56422--