]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Bind TCP HPTS (pacer) threads to NUMA domains
authorgallatin <gallatin@FreeBSD.org>
Fri, 10 May 2019 13:41:19 +0000 (13:41 +0000)
committergallatin <gallatin@FreeBSD.org>
Fri, 10 May 2019 13:41:19 +0000 (13:41 +0000)
commitfbc304aae0efb87e60f17c0a42ca7c8286c24f1f
tree032bd613f8fca0463764a87a3a546f6c86f3b709
parent408cf301738c0cf3d3cfb3a8f193455e5effc7e3
Bind TCP HPTS (pacer) threads to NUMA domains

Bind the TCP pacer threads to NUMA domains and build per-domain
pacer-thread lookup tables. These tables allow us to use the
inpcb's NUMA domain information to match an inpcb with a pacer
thread on the same domain.

The motivation for this is to keep the TCP connection local to a
NUMA domain as much as possible.

Thanks to jhb for pre-reviewing an earlier version of the patch.

Reviewed by: rrs
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D20134
sys/kern/kern_intr.c
sys/netinet/tcp_hpts.c
sys/sys/interrupt.h