Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2015 07:06:23 +0300
From:      Andrey Chernov <ache@freebsd.org>
To:        Patrick Kelsey <pkelsey@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   Re: svn commit: r292823 - in stable/10/sys: conf netinet
Message-ID:  <5680B53F.9040903@freebsd.org>
In-Reply-To: <FE066F76-3613-4C53-A0F8-CDAF2F77F24C@freebsd.org>
References:  <201512280243.tBS2hD7X008202@repo.freebsd.org> <5680A574.9050002@freebsd.org> <CAD44qMU2QEo2s2y_na5zw6U4mQWu=UWjw_vRjjFs3Q95o0iXNg@mail.gmail.com> <5680ABD5.7030206@freebsd.org> <FE066F76-3613-4C53-A0F8-CDAF2F77F24C@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28.12.2015 6:45, Patrick Kelsey wrote:
>> On Dec 27, 2015, at 10:26 PM, Andrey Chernov <ache@freebsd.org> wrote:
>>
>>> On 28.12.2015 6:15, Patrick Kelsey wrote:
>>> This is explained in the top comment in sys/netinet/tcp_fastopen.c, but
>>> I will repeat it here and elaborate a little.  It is disabled by default
>>> in the kernel build as a conservative measure until it is exercised more
>>> widely, given the modifications it introduces to the TCP state machine
>>> code, syncache code, etc.  When you do enable it in the kernel build
>>> (and after some point in the future when it is enabled by default),
>>> there is still a sysctl that governs its availability in the system that
>>> must be enabled before it can be used.
>>>
>>> -Patrick
>>
>> Thanx, if I understand it correctly, is not ready for real use yet but
>> just for experiments. See my other comment about TCP_RFC7413_MAX_KEYS
>>
> 
> It is a serious implementation that is believed to be complete, however  I do not see much evidence that TFO is currently widely deployed and used*, and I consider the changes I made to the rest of the TCP stack, which is widely deployed and used, to be intrusive enough to warrant being conservative in putting these changes into the default kernel build at this point.
>
> *For example, the current Linux TFO client appears to be surprisingly
> weak in that it does not ACK data in a TFO SYN|ACK, forcing a
> retransmit of fast TFO server responses, which kind of defeats the
> purpose.

RFC7413 sounds very promising. Should we wait until Linux fix its bug
you mention or just go further having TFO at least for FreeBSD machines
on some internal net? If the second case is preferred by others, IMHO it
will be better to control it via sysctl compiled in by default,
controlled by rc.conf on the upper level. I don't see too much code
added to make sufficient size bloat.

-- 
http://ache.vniz.net/



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