Subject: Re: Assembly version of netinet/in_cksum.c
To: Paul Clifford <paul@plasma.demon.co.uk>
From: David Brownlee <abs@NetBSD.ORG>
List: port-arm32
Date: 02/16/1998 12:59:30
On Sat, 14 Feb 1998, Paul Clifford wrote:

> Incidentally, while testing the code I noticed that with a packet size of
> around 32500 the ping response times to localhost seem to alternate between
> about 0.009 and about 9.800.  A few 100 bytes less and the response times are
> all around 0.009, and a few hundred more and they're all in the 9.8's.  I
> know practically nothing about the inner workings of the networking code but
> it struck me as a little odd that there was such a sudden leap and not a
> gradual slowing down as the packet sizes increased.  Is this supposed to
> happen?  (I tested it with and without my in_cksum.S and got the same
> results).

	The mtu of the loopback interface is 32976 (ifconfig lo0),
	which could explain the significance of around 32500.

	My sparc will reliably ping localhost up to just over 60000,
	(but fails at 62000). I cant work out the significance of _that_
	number :)

		David/absolute

   ( If cut and paste be your friend, let a brain be your chaparone... )