Date: Tue, 02 Dec 2014 13:28:40 +0100 From: Julien Charbon <jch@freebsd.org> To: freebsd-net@freebsd.org Cc: k simon <chio1990@gmail.com> Subject: Re: TCP stack lock contention with short-lived connections Message-ID: <547DB078.4020404@freebsd.org> In-Reply-To: <5457832D.6070709@freebsd.org> References: <op.w51mxed6ak5tgc@fri2jcharbon-m1.local> <op.w56mamc0ak5tgc@dul1rjacobso-l3.vcorp.ad.vrsn.com> <len481$sfv$2@ger.gmane.org> <537F39DF.1090900@verisign.com> <542EA1C9.6080907@freebsd.org> <5457832D.6070709@freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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@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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUfbB+AAoJEKVlQ5Je6dhxtocH/jHmn1ZyNSZLXe/FpiIOFNcu Ac7mMWMvburpaIIyNji4rskMsYXTiZ0bvZ3JAGZ+B/QurMgTmp7x91VI8mQul59K APUJn/DvsvVB1e/A6kKYXaINmCpiHMHfO/hcKNpHRnzn6s6sDdy6ACRSgQStXAIZ 5IHCgdAsUv2mvjcD1FEmOq7zlGx/P5Ft9hDJDYHNxIGR02xbrFHDoCrpWMWh2OMe WStFFK2WWwGbTfTGLZMH8vOW1P+oTn1y8njSISImmWFAZxN7u0xrQGRo+qbwk7TO 1SpRMoEuE/t4mtWLVQfrPDrX9a7oNBr/p9j/HW3fMPF5LCLvlnnqNMwt0ZV6FwU= =Ar9P -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?547DB078.4020404>
