From owner-freebsd-net Mon Aug 12 13: 6:47 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6CEB37B400 for ; Mon, 12 Aug 2002 13:06:44 -0700 (PDT) Received: from stl-smtpout-01.boeing.com (stl-smtpout-01.boeing.com [12.13.247.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51F9043E42 for ; Mon, 12 Aug 2002 13:06:43 -0700 (PDT) (envelope-from thomas.r.henderson@boeing.com) Received: from slb-av-01.boeing.com ([129.172.13.4]) by stl-smtpout-01.boeing.com (8.9.2/8.8.5-M2) with ESMTP id PAA17953; Mon, 12 Aug 2002 15:06:39 -0500 (CDT) Received: from blv-hub-01.boeing.com (localhost [127.0.0.1]) by slb-av-01.boeing.com (8.9.3/8.9.2/MBS-AV-02) with ESMTP id NAA19363; Mon, 12 Aug 2002 13:06:38 -0700 (PDT) Received: from xch-nwbh-02.nw.nos.boeing.com (xch-nwbh-02.nw.nos.boeing.com [192.54.12.28]) by blv-hub-01.boeing.com (8.11.3/8.11.3/MBS-LDAP-01) with ESMTP id g7CK6bm23472; Mon, 12 Aug 2002 13:06:37 -0700 (PDT) Received: by xch-nwbh-02.nw.nos.boeing.com with Internet Mail Service (5.5.2650.21) id ; Mon, 12 Aug 2002 13:06:39 -0700 Message-ID: <00EBC850E752CC46B8509DAB4D0D2CB910695B@xch-nw-29.nw.nos.boeing.com> From: "Henderson, Thomas R" To: "'Oleg Polyakov'" Cc: freebsd-net@freebsd.org Subject: RE: Initial congestion window increase Date: Mon, 12 Aug 2002 13:06:27 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" 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 > By the way looking into tcpdump revealed we have initial window > = 2 * mss in case of slowstart_flightsize = 1. I've seen it on > FreeBSD 4.5 and 4.6 . > What is this - an ancient bug in BSD stack? > This used to be a bug/feature of the Net/3 TCP code (ack of syn caused cwnd increment). The snippet below seems to be aimed at preventing this in current FreeBSD, but perhaps something else is incrementing initial window to be 2 (not that this is a bad thing). from tcp_input.c:1795 /* * If no data (only SYN) was ACK'd, * skip rest of ACK processing. */ if (acked == 0) goto step6; Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message