On Fri, 21 Sep 2001 [EMAIL PROTECTED] wrote:
> and we changed the size from 1 to 10000 byte and measured the time of
> read/write pair on the server. Usually the measured time is
> around or less than 1 msec, however it is always 100msec when the size is
> between 2049 and 2919 byte or between 4381 and 5839 byte or
> between 7301 and 8751 byte. 100 times slower.
Try disabling delayed ACKs and see how that affects your results. The
default delay for delayed acks is 100ms.
sysctl -w net.inet.tcp.delayed_ack=0
Actually, come to think of it, I think Jonathan Lemon fixed issues related
to this with delayed acks sometime between 4.2 and 4.4. For this (and
many other reasons), you should consider upgrading before you continue
your performance tests.
Mike "Silby" Silbersack
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message