From owner-freebsd-net Wed Sep 26 23:52:33 2001 Delivered-To: freebsd-net@freebsd.org Received: from fgwmail7.fujitsu.co.jp (fgwmail7.fujitsu.co.jp [192.51.44.37]) by hub.freebsd.org (Postfix) with ESMTP id EAB4E37B413 for ; Wed, 26 Sep 2001 23:52:29 -0700 (PDT) Received: from m2.gw.fujitsu.co.jp by fgwmail7.fujitsu.co.jp (8.9.3/3.7W-MX0109-Fujitsu Gateway) id PAA24367; Thu, 27 Sep 2001 15:52:09 +0900 (JST) (envelope-from tsuchiya@flab.fujitsu.co.jp) From: tsuchiya@flab.fujitsu.co.jp Received: from const.kawasaki.flab.fujitsu.co.jp by m2.gw.fujitsu.co.jp (8.9.3/3.7W-0108-Fujitsu Domain Master) id PAA01018; Thu, 27 Sep 2001 15:52:08 +0900 (JST) (envelope-from tsuchiya@flab.fujitsu.co.jp) Received: (from tsuchiya@localhost) by const.kawasaki.flab.fujitsu.co.jp (8.9.3+3.2W/3.5Wpl7) id PAA03232; Thu, 27 Sep 2001 15:52:15 +0900 Date: Thu, 27 Sep 2001 15:52:15 +0900 Message-Id: <200109270652.PAA03232@const.kawasaki.flab.fujitsu.co.jp> To: jayanth@yahoo-inc.com, tsuchiya@flab.fujitsu.co.jp Subject: Re: TCP performance question Cc: net@FreeBSD.ORG, silby@silby.com Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > This issue is a combination of mbuf cluster size and the > TF_MORETOCOME flag. > if (len) { > if (len == tp->t_maxseg) > goto send; > if (!(tp->t_flags & TF_MORETOCOME) && > (idle || tp->t_flags & TF_NODELAY) && > (tp->t_flags & TF_NOPUSH) == 0 && > len + off >= so->so_snd.sb_cc) > goto send; When I changed the condition, the problem we had did not occur. I am wondering what is the right fix. Yoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message