Skip to content

app/test-pipeline: cleanup and add ring/help options

Doug Foster dpdk-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2app/test-pipeline: cleanup and add helpapp/test-pipeline/config.c app/test-pipeline/main.h+57 -370 replies
2/2app/test-pipeline: add ring size optionsapp/test-pipeline/config.c app/test-pipeline/init.c app/test-pipeline/main.h +1 more+62 -100 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchWathsala Vithanage
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] app/test-pipeline: cleanup and add ring/help options

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(-)
Signature · 1 line
2.34.1