TCP stack lock contention with short-lived connections
Julien Charbon
jch at freebsd.org
Tue Dec 2 12:28:57 UTC 2014
Hi,
On 03/11/14 14:29, Julien Charbon wrote:
> On 03/10/14 15:16, Julien Charbon wrote:
>> On 23/05/14 14:06, Julien Charbon wrote:
>>> On 27/02/14 11:32, Julien Charbon wrote:
>>>> On 07/11/13 14:55, Julien Charbon wrote:
>>>>> On Mon, 04 Nov 2013 22:21:04 +0100, Julien Charbon
>>>>> <jcharbon at verisign.com> wrote:
>>>>>> kern/183659: TCP stack lock contention with short-lived connections
>>>>>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183659
>>>>>>
>>>>>> We are currently working on this performance improvement effort; it
>>>>>> will impact only the TCP locking strategy not the TCP stack logic
>>>>>> itself.
> As usual, a follow-up the TCP short-lived connections performance
> improvement progress:
> [...]
> - Second, a race condition fix with a code clean-up:
>
> Fix a race condition in TCP timewait between tcp_tw_2msl_reuse() and
> tcp_tw_2msl_scan()
> https://svnweb.freebsd.org/base?view=revision&revision=273850
>
> It means that the whole set of tcp_tw_2msl_scan()-related changes could
> now be MFC-ed in 10-STABLE as the KBI stability can be kept now:
>
> https://svnweb.freebsd.org/base?view=revision&revision=264321
> https://svnweb.freebsd.org/base?view=revision&revision=264342
> https://svnweb.freebsd.org/base?view=revision&revision=264351
> https://svnweb.freebsd.org/base?view=revision&revision=264356
> https://svnweb.freebsd.org/base?view=revision&revision=273850
The related 10-STABLE MFC commit is now here:
https://svnweb.freebsd.org/base?view=revision&revision=275402
And just for interested persons below two TCP short-lived connection
improvements changes only in HEAD (No plan for MFC so far):
Decrease lock contention in TCP accept
https://svnweb.freebsd.org/base?view=revision&revision=261242
Decrease lock contention in TCP SYN input:
https://svnweb.freebsd.org/base?view=revision&revision=271119
--
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 522 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20141202/2fc13a1c/attachment.sig>
More information about the freebsd-net
mailing list