From owner-freebsd-net Tue Jan 18 14: 6:54 2000 Delivered-To: freebsd-net@freebsd.org Received: from sumatra.americantv.com (sumatra.americantv.com [208.139.222.227]) by hub.freebsd.org (Postfix) with ESMTP id A3BA315335 for ; Tue, 18 Jan 2000 14:06:41 -0800 (PST) (envelope-from jlemon@americantv.com) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id QAA23091; Tue, 18 Jan 2000 16:06:40 -0600 (CST) Received: from free.pcs (free.PCS [148.105.10.51]) by right.PCS (8.8.5/8.6.4) with ESMTP id QAA25618; Tue, 18 Jan 2000 16:06:38 -0600 (CST) Received: (from jlemon@localhost) by free.pcs (8.8.6/8.8.5) id QAA18388; Tue, 18 Jan 2000 16:06:38 -0600 (CST) Date: Tue, 18 Jan 2000 16:06:38 -0600 (CST) From: Jonathan Lemon Message-Id: <200001182206.QAA18388@free.pcs> To: luigi@info.iet.unipi.it, net@freebsd.org Subject: Re: Feature: net.inet.tcp.local_slowstart ? X-Newsgroups: local.mail.freebsd-net In-Reply-To: References: Organization: Architecture and Operating System Fanatics Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article you write: >> > may i add a new sysctl variable, >> >> > net.inet.tcp.local_slowstart >> >> In what way is this different from >> `net.inet.tcp.local_slowstart_flightsize'? > >Ok, i did not notice the one you mention. > >Speaking of this one i notice that it is implemented >in a somewhat strange way. > >ss_fltsz_local is set to TCP_MAXWIN (65535) and the assignment >in tcp_input.c is then something like > > p->snd_cwnd = mss * ss_fltsz_local > >dimensionally, this looks to me like bytes^2 ... Flightsize is in terms of 'packets', while cwnd is in bytes, but is usually a multiple of the packet size. The above code just tries to set the cwnd to be essentially unbounded, which is what it was before, I believe. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message