Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2000 16:06:38 -0600 (CST)
From:      Jonathan Lemon <jlemon@americantv.com>
To:        luigi@info.iet.unipi.it, net@freebsd.org
Subject:   Re: Feature: net.inet.tcp.local_slowstart ?
Message-ID:  <200001182206.QAA18388@free.pcs>
In-Reply-To: <local.mail.freebsd-net/200001181759.SAA60954@info.iet.unipi.it>
References:  <local.mail.freebsd-net/200001181749.MAA25359@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <local.mail.freebsd-net/200001181759.SAA60954@info.iet.unipi.it> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001182206.QAA18388>