Date: Mon, 21 Nov 2016 09:50:57 +0100 From: Julien Charbon <jch@freebsd.org> To: freebsd-net@freebsd.org, pkelsey@freebsd.org Cc: k simon <chio1990@gmail.com>, hiren panchasara <hiren@strugglingcoder.info> Subject: Re: TCP stack lock contention with short-lived connections Message-ID: <ea9d17f0-6640-727e-e6e5-7192a07b0c6b@freebsd.org> In-Reply-To: <508b340a-2e55-43e1-99d7-e4b53ca4687d@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> <537FB51D.2060401@verisign.com> <53861209.2000306@verisign.com> <53880525.6000203@gmail.com> <5665A78E.3090401@freebsd.org> <5635309e-3235-e574-9bd2-a7a484ac0825@freebsd.org> <508b340a-2e55-43e1-99d7-e4b53ca4687d@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) --gK4SATu9wWNNqrwbgMi4sXev8sjIbiKS7 Content-Type: multipart/mixed; boundary="4n7akCMCng0OXxoG8sLloomd1qdsdRE5t"; protected-headers="v1" From: Julien Charbon <jch@freebsd.org> To: freebsd-net@freebsd.org, pkelsey@freebsd.org Cc: k simon <chio1990@gmail.com>, hiren panchasara <hiren@strugglingcoder.info> Message-ID: <ea9d17f0-6640-727e-e6e5-7192a07b0c6b@freebsd.org> Subject: Re: TCP stack lock contention with short-lived connections References: <op.w51mxed6ak5tgc@fri2jcharbon-m1.local> <op.w56mamc0ak5tgc@dul1rjacobso-l3.vcorp.ad.vrsn.com> <len481$sfv$2@ger.gmane.org> <537F39DF.1090900@verisign.com> <537FB51D.2060401@verisign.com> <53861209.2000306@verisign.com> <53880525.6000203@gmail.com> <5665A78E.3090401@freebsd.org> <5635309e-3235-e574-9bd2-a7a484ac0825@freebsd.org> <508b340a-2e55-43e1-99d7-e4b53ca4687d@freebsd.org> In-Reply-To: <508b340a-2e55-43e1-99d7-e4b53ca4687d@freebsd.org> --4n7akCMCng0OXxoG8sLloomd1qdsdRE5t Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, On 7/14/16 7:38 PM, Julien Charbon wrote: > On 6/28/16 12:06 PM, Julien Charbon wrote: >> On 12/7/15 4:36 PM, Julien Charbon wrote: >>> On 30/05/14 06:12, k simon wrote: >>>> Does any plan commit and MFC to the 10-stable ? >>> >>> I got a bit of interest of having the performance improvements for >>> short-lived TCP connections in 10-stable. Just to share the current >>> status to a wider audience: >>> >> <snip> >> If nobody complains, I plan to MFC them in stable/10. After actually= >> quite a bunch of tests as I see a lot of changes that might impact the= se >> MFCs (like TFO support, etc.). >=20 > MFC over stable/10 of above commits done and tested here: >=20 > https://github.com/verisign/freebsd/commits/10/tcp-scale >=20 > Nothing particular, the result make stable/10 much closer to -CURRENT > TCP locking-wise. Only one commit remains to be pushed in stable/10: The INP_INFO global lock decomposition change that brings most of the performance improvement= : https://github.com/verisign/freebsd/commits/10/tcp-scale I am going to MFC it in stable/10. This change is well tested in both 10 and 11 now, and will make future TCP changes MFC much easier. Next step for this effort: As soon as we get a RCU-ish list implementation in kernel for example based on: Add ConcurrencyKit support https://reviews.freebsd.org/D7016 We will work on removing all usages of INP_INFO lock in TCP stack. Thanks. -- Julien --4n7akCMCng0OXxoG8sLloomd1qdsdRE5t-- --gK4SATu9wWNNqrwbgMi4sXev8sjIbiKS7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJYMrV2AAoJEKVlQ5Je6dhxhCIH/0pIXQlfUT/CkVM448OMh8+K bFu+hk3RtDSrahp7GjZzH3fejBAb5n/e0HEcSedWtPDM8XA5xepa6jCLvqDM6mgf irfmr7fCkFulzk753BVIIWjkTtadCereE7mBfrUxAmXKZYQjIjlFsFjY6PD8F0ld IDoj3/AVUyD/yNZRyYvmyeBGWjF0a8A4nTDR9WyMTMGtVpq64vQS/1lPddlDQ7Vm 2SuCKgN5M2DaSHUN+8P2wXueEhAsKm2+B7Xeua16VSnZ2WuQIV21BQKsFgRo1nDt 8it8d71iPgEo26luEkP19/r/SlaT8i+8PtNtG/17mFhMoEdDNgvt5YBKWkyV0u8= =9oF6 -----END PGP SIGNATURE----- --gK4SATu9wWNNqrwbgMi4sXev8sjIbiKS7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ea9d17f0-6640-727e-e6e5-7192a07b0c6b>