numam-dpdk/config
Morten Brørup 9d87e05d08 mempool: split stats from debug mode
Split stats from debug, to make mempool statistics available without the
performance cost of continuously validating the debug cookies in the
mempool elements.

mempool_perf_autotest shows the following improvements in rate_persec.

The cost of enabling mempool debug without this patch:
-28.1 % and -74.0 %, respectively without and with cache.

The cost of enabling mempool stats (without debug) after this patch:
-5.8 % and -21.2 %, respectively without and with cache.

Signed-off-by: Morten Brørup <mb@smartsharesystems.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@huawei.com>
2022-11-10 17:32:45 +01:00
..
arm config/arm: add Phytium TengYun S2500 2022-10-26 17:39:24 +02:00
loongarch
ppc
riscv
x86
meson.build examples/fips_validation: add asymmetric validation 2022-10-29 13:01:38 +02:00
rte_config.h mempool: split stats from debug mode 2022-11-10 17:32:45 +01:00