From owner-freebsd-hackers Mon Feb 9 09:04:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA06051 for hackers-outgoing; Mon, 9 Feb 1998 09:04:06 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA06045 for ; Mon, 9 Feb 1998 09:04:01 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id JAA27849; Mon, 9 Feb 1998 09:04:14 -0800 (PST) Message-Id: <199802091704.JAA27849@implode.root.com> To: Igor.Alekseev@kjeller.fou.telenor.no cc: freebsd-hackers@FreeBSD.ORG Subject: Re: TCP slow start problem In-reply-to: Your message of "Mon, 09 Feb 1998 13:05:47 +0100." <"1658 98/02/09 13:05*/G=Igor/S=Alekseev/OU=kjeller/O=fou/PRMD=telenor/ADMD=TELEMAX/C=no/"@MHS> From: David Greenman Reply-To: dg@root.com Date: Mon, 09 Feb 1998 09:04:14 -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >FreeBSD 2.2.5 seems not to be following Slow start procedure (when connection is >set up)! > >Could someone, please shed some light on this problem? > >The /sys/netinet/tcp_subr.c file contains a function tcp_newtcpcb() which initialises >the control block structure. This function initialises congerstion window (CWND) >tp->snd_cwnd to the maximum possible window size (evwn with window scale >option). > > >tcp_subr.c line 280: tp->snd_cwnd = TCP_MAXWIN << TCP_MAX_WINSHIFT; The congestion window is also set in tcp_mss() as soon as the mss is learned from the foreign machine, and for non-local networks, cwnd is set to one segment. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe hackers" in the body of the message