]> git.ipfire.org Git - thirdparty/suricata.git/commit
dpdk: replace global with per-thread mempools
authorLukas Sismis <lsismis@oisf.net>
Thu, 20 Jul 2023 07:42:06 +0000 (09:42 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 31 Mar 2025 17:16:50 +0000 (19:16 +0200)
commitcb997a64dc2e905bf5c4779154c7bc275efe7997
tree70705ed5b197af300b9f647c791d7119e845ee00
parent5e2974458d209a2276ff2efdb324a70fcbee444f
dpdk: replace global with per-thread mempools

It turned out that having global (interface-specific) mempool
that is shared by the threads of the interface is slower than
having individual mempools per queue for each interface.

The commit brings this change and should be user-invisible,
the config setting remains still as a number of objects of
all mempools summed (of that interface).

Ticket: 7382
doc/userguide/configuration/suricata-yaml.rst
doc/userguide/upgrade.rst
src/Makefile.am
src/runmode-dpdk.c
src/source-dpdk.h
src/util-device.h
src/util-dpdk-common.c [new file with mode: 0644]
src/util-dpdk-common.h [new file with mode: 0644]
src/util-dpdk.c
src/util-dpdk.h
suricata.yaml.in