app/test-pipeline: cleanup and add ring/help options
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | app/test-pipeline: cleanup and add helpapp/ app/ | +57 | 0 replies | |
| 2/2 | app/test-pipeline: add ring size optionsapp/ app/ app/ +1 more | +62 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Wathsala Vithanage |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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