]> git.ipfire.org Git - thirdparty/suricata.git/commit
threading: support thread autopinning and interface-specific affinity
authorLukas Sismis <lsismis@oisf.net>
Fri, 3 Jan 2025 15:08:36 +0000 (16:08 +0100)
committerVictor Julien <victor@inliniac.net>
Sat, 7 Jun 2025 08:36:43 +0000 (10:36 +0200)
commit8817a959e8911d02eea4c8828f9c87f868f8f6d0
tree2df997318640a1255cdf705a3cb8cf3345a1eb31
parent1a1789eb2951d089f020534ff1736458daa6b45d
threading: support thread autopinning and interface-specific affinity

Using the new configuration format, it is now possible to set CPU affinity
settings per interface.

The threading.autopin option has been added to automatically use CPUs from the
same NUMA node as the interface. The autopin option requires
hwloc-devel / hwloc-dev to be installed and --enable-hwloc flag in configure
script.

Ticket: 7036
12 files changed:
configure.ac
doc/userguide/configuration/suricata-yaml.rst
src/runmode-dpdk.c
src/suricata.c
src/threadvars.h
src/tm-threads.c
src/util-affinity.c
src/util-affinity.h
src/util-device.c
src/util-device.h
src/util-runmodes.c
suricata.yaml.in