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>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HM5iDcgwu0J8PSRGkV39WWAvEqpVKCGsf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 connection= s >>>>>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D183659 >>>>>> >>>>>> 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: >=20 > Fix a race condition in TCP timewait between tcp_tw_2msl_reuse() and > tcp_tw_2msl_scan() > https://svnweb.freebsd.org/base?view=3Drevision&revision=3D273850 >=20 > It means that the whole set of tcp_tw_2msl_scan()-related changes coul= d > now be MFC-ed in 10-STABLE as the KBI stability can be kept now: >=20 > https://svnweb.freebsd.org/base?view=3Drevision&revision=3D264321 > https://svnweb.freebsd.org/base?view=3Drevision&revision=3D264342 > https://svnweb.freebsd.org/base?view=3Drevision&revision=3D264351 > https://svnweb.freebsd.org/base?view=3Drevision&revision=3D264356 > https://svnweb.freebsd.org/base?view=3Drevision&revision=3D273850 The related 10-STABLE MFC commit is now here: https://svnweb.freebsd.org/base?view=3Drevision&revision=3D275402 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=3Drevision&revision=3D261242 Decrease lock contention in TCP SYN input: https://svnweb.freebsd.org/base?view=3Drevision&revision=3D271119 -- Julien --HM5iDcgwu0J8PSRGkV39WWAvEqpVKCGsf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --HM5iDcgwu0J8PSRGkV39WWAvEqpVKCGsf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?547DB078.4020404>