numam-dpdk/app
Dmitry Kozlyuk c62b318a9f app/test: add allocator performance benchmark
Memory allocator performance is crucial to applications that deal
with large amount of memory or allocate frequently. DPDK allocator
performance is affected by EAL options, API used and, at least,
allocation size. New autotest is intended to be run with different
EAL options. It measures performance with a range of sizes
for dirrerent APIs: rte_malloc, rte_zmalloc, and rte_memzone_reserve.

Work distribution between allocation and deallocation depends on EAL
options. The test prints both times and total time to ease comparison.

Memory can be filled with zeroes at different points of allocation path,
but it always takes considerable fraction of overall timing. This is why
the test measures filling speed and prints how long clearing takes
for each size as a reference (for rte_memzone_reserve estimations
are printed).

Signed-off-by: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
Reviewed-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
2022-02-08 21:32:53 +01:00
..
dumpcap build: cleanup libpcap dependent components 2021-11-10 11:42:34 +01:00
pdump devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
proc-info fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test app/test: add allocator performance benchmark 2022-02-08 21:32:53 +01:00
test-acl fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test-bbdev app/bbdev: use compiler atomics for shared data sync 2021-11-17 11:07:06 +01:00
test-cmdline devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-compress-perf fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test-crypto-perf fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test-eventdev fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test-fib fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test-flow-perf fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test-gpudev gpudev: add alignment for memory allocation 2022-01-21 11:33:25 +01:00
test-pipeline app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
test-pmd app/testpmd: fix external buffer allocation 2022-01-18 14:22:15 +01:00
test-regex devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-sad devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
meson.build build: make pdump optional 2021-11-17 12:49:19 +01:00