DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] app/test-pipeline: cleanup and add ring/help options
@ 2025-11-04  2:49 Doug Foster
  2025-11-04  2:49 ` [PATCH 1/2] app/test-pipeline: cleanup and add help Doug Foster
  2025-11-04  2:49 ` [PATCH 2/2] app/test-pipeline: add ring size options Doug Foster
  0 siblings, 2 replies; 3+ messages in thread
From: Doug Foster @ 2025-11-04  2:49 UTC (permalink / raw)
  To: dev; +Cc: nd, Doug Foster

This patchset adds command-line options to configure the size of RX and
TX rings in the test-pipeline application. The current implementation
fixes the ring size at 128, which cannot be changed through the command
line. This default value may not be optimal, as the ideal ring size
depends on the platform and the CPU's ability to process entries before
they are dequeued.

This was confirmed by the observation of 66% failed enqueue attempts to
the RX ring on the Grace CPU when using a ring size of 128, indicating
that the ring was too small for the workload. Increasing the RX ring
size to 256 reduced the number of failed enqueue attempts to 22% and
improved overall throughput by approximately 22%.

In addition to making the ring sizes configurable, this patchset
introduces a help option to make valid parameters easier to understand.
It also includes minor cleanup to improve readability and
maintainability of the code.

Doug Foster (2):
  app/test-pipeline: cleanup and add help
  app/test-pipeline: add ring size options

 app/test-pipeline/config.c                 | 131 +++++++++++++++------
 app/test-pipeline/init.c                   |   4 -
 app/test-pipeline/main.h                   |   9 +-
 doc/guides/sample_app_ug/test_pipeline.rst |  12 +-
 4 files changed, 114 insertions(+), 42 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-11-04  2:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-04  2:49 [PATCH 0/2] app/test-pipeline: cleanup and add ring/help options Doug Foster
2025-11-04  2:49 ` [PATCH 1/2] app/test-pipeline: cleanup and add help Doug Foster
2025-11-04  2:49 ` [PATCH 2/2] app/test-pipeline: add ring size options Doug Foster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).