Date: Fri, 21 Sep 2001 02:59:56 -0500 (CDT) From: Mike Silbersack <silby@silby.com> To: <tsuchiya@flab.fujitsu.co.jp> Cc: <net@FreeBSD.org> Subject: Re: TCP performance question Message-ID: <20010921025715.U68923-100000@achilles.silby.com> In-Reply-To: <200109210746.QAA09541@const.kawasaki.flab.fujitsu.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Sep 2001 tsuchiya@flab.fujitsu.co.jp 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 majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010921025715.U68923-100000>