Skip to content

add crypto perf test graphing script

Ciara Power dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v24 patches 8 repliesApplied
  3. v14 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Moved script and configs to app/test-crypto-perf directory.
- Made changes to documentation and MAINTAINERS to reflect the above change.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4test/cryptodev: fix latency test csv outputapp/test-crypto-perf/cperf_test_latency.c+1 -10 replies
2/4test/cryptodev: fix csv output formatapp/test-crypto-perf/cperf_test_latency.c app/test-crypto-perf/cperf_test_pmd_cyclecount.c app/test-crypto-perf/cperf_test_throughput.c +1 more+5 -50 replies
3/4test/cryptodev: add script to graph perf resultsapp/test-crypto-perf/configs/crypto-perf-aesni-gcm.json app/test-crypto-perf/configs/crypto-perf-aesni-mb.json app/test-crypto-perf/configs/crypto-perf-qat.json +2 more+753 -00 replies
4/4maintainers: update crypto perf app maintainersMAINTAINERS+1 -00 replies

Reviews trailers per patch

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

PatchDeclan DohertyAdam Dybkowski
1/4A-b A-b
2/4A-b A-b
3/4A-b A-b
4/4A-b A-b

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

Read the v3 thread

Cover letter [dpdk-dev] [PATCH v3 0/4] add crypto perf test graphing script

This patchset introduces a python script to run various crypto performance test cases, and graph the results in a consumable manner. The test suites are configured via JSON file. Some config files are provided, or the user may create one. Currently throughput and latency ptests for devices crypto_qat, crypto_aesni_mb and crypto_aesni_gcm are supported.

The final collection of graphs are output in PDF format, with multiple PDFs per test suite, one for each graph type.

Some fixes are included for the throughput performance test and latency performance test csv outputs also.

v3:
- Moved script and configs to app/test-crypto-perf directory.
- Made changes to documentation and MAINTAINERS to reflect the above change.
v2:
- Reduced changes to only fix csv format for all perf test types.
- Added functionality for additional args such as config file, output directory and verbose.
- Improved help text for script.
- Improved script console output.
- Added support for latency test cases with burst or buffer size lists.
- Split config file into smaller config files, one for each device.
- Split output PDFs into smaller files, based on test suite graph types.
- Modified output directory naming and structure.
- Made some general improvements to script.
- Updated and improved documentation.

Ciara Power (4):
test/cryptodev: fix latency test csv output test/cryptodev: fix csv output format test/cryptodev: add script to graph perf results
maintainers: update crypto perf app maintainers

 MAINTAINERS                                   |   1 +
 .../configs/crypto-perf-aesni-gcm.json        |  99 ++++++
 .../configs/crypto-perf-aesni-mb.json         | 108 ++++++
 .../configs/crypto-perf-qat.json              |  94 ++++++
 app/test-crypto-perf/cperf_test_latency.c     |   4 +-
 .../cperf_test_pmd_cyclecount.c               |   2 +-
 app/test-crypto-perf/cperf_test_throughput.c  |   4 +-
 app/test-crypto-perf/cperf_test_verify.c      |   2 +-
 .../dpdk-graph-crypto-perf.py                 | 309 ++++++++++++++++++
 doc/guides/tools/cryptoperf.rst               | 143 ++++++++
 10 files changed, 760 insertions(+), 6 deletions(-)
 create mode 100644 app/test-crypto-perf/configs/crypto-perf-aesni-gcm.json
 create mode 100644 app/test-crypto-perf/configs/crypto-perf-aesni-mb.json
 create mode 100644 app/test-crypto-perf/configs/crypto-perf-qat.json
 create mode 100755 app/test-crypto-perf/dpdk-graph-crypto-perf.py
Signature · 1 line
2.25.1