DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] add standalone mempool perf testing app
@ 2026-08-20 14:24 Bruce Richardson
  2026-08-20 14:24 ` [RFC PATCH 1/3] app/test-mempool-perf: skeleton of new test app Bruce Richardson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bruce Richardson @ 2026-08-20 14:24 UTC (permalink / raw)
  To: dev; +Cc: techboard, Bruce Richardson

While the mempool perf tests in the autotest suite cover a wide
range of possibilities, there is no way they can cover all possible
app permutations, and there is no way to parameterize running a
unit test.

To cover this gap, this patchset proposes a new test-mempool-perf app
which can be used to test out mempool performance across a range of
different scenarios. The options cover (not an exhaustive list):

* underlying mempool driver to use
* mempool cache size
* burst size
* whether to use pipeline or run to completion models
* for run-to-completion how much variability in ordering of allocs
  and frees.
* whether we touch the packets between alloc and free

To simplify the use of the app, if run without parameters the
user is queried for the options to use, and the app thereafter
prints the cmdline to use for future re-runs with same settings.


Bruce Richardson (3):
  app/test-mempool-perf: skeleton of new test app
  app/test-mempool-perf: add perf test logic
  app/test-mempool-perf: add testing in pipeline model

 app/meson.build                   |   1 +
 app/test-mempool-perf/main.c      | 808 ++++++++++++++++++++++++++++++
 app/test-mempool-perf/meson.build |   8 +
 doc/guides/tools/index.rst        |   1 +
 doc/guides/tools/mempoolperf.rst  | 173 +++++++
 5 files changed, 991 insertions(+)
 create mode 100644 app/test-mempool-perf/main.c
 create mode 100644 app/test-mempool-perf/meson.build
 create mode 100644 doc/guides/tools/mempoolperf.rst

--
2.53.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-20 14:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20 14:24 [RFC PATCH 0/3] add standalone mempool perf testing app Bruce Richardson
2026-08-20 14:24 ` [RFC PATCH 1/3] app/test-mempool-perf: skeleton of new test app Bruce Richardson
2026-08-20 14:24 ` [RFC PATCH 2/3] app/test-mempool-perf: add perf test logic Bruce Richardson
2026-08-20 14:24 ` [RFC PATCH 3/3] app/test-mempool-perf: add testing in pipeline model Bruce Richardson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox