f400e0b82b
The python script introduced in this patch runs the crypto performance test application for various test cases, and graphs the results. Test cases are defined in config JSON files, this is where parameters are specified for each test. Currently there are various test cases for devices crypto_qat, crypto_aesni_mb and crypto_gcm. Tests for the ptest types Throughput and Latency are supported for each. The results of each test case are graphed and saved in PDFs (one PDF for each test suite graph type, with all test cases). The graphs output include various grouped barcharts for throughput tests, and histogram and boxplot graphs are used for latency tests. Documentation is added to outline the configuration and usage for the script. Usage: A JSON config file must be specified when running the script, "./dpdk-graph-crypto-perf <config_file>" The script uses the installed app by default (from ninja install). Alternatively we can pass path to app by "-f <rel_path>/<build_dir>/app/dpdk-test-crypto-perf" All device test suites are run by default. Alternatively we can specify by adding arguments, "-t latency" - to run latency test suite only "-t throughput latency" - to run both throughput and latency test suites A directory can be specified for all output files, or the script directory is used by default. "-o <output_dir>" To see the output from the dpdk-test-crypto-perf app, use the verbose option "-v". Signed-off-by: Ciara Power <ciara.power@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com> Acked-by: Adam Dybkowski <adamx.dybkowski@intel.com> |
||
---|---|---|
.. | ||
configs | ||
data | ||
cperf_ops.c | ||
cperf_ops.h | ||
cperf_options_parsing.c | ||
cperf_options.h | ||
cperf_test_common.c | ||
cperf_test_common.h | ||
cperf_test_latency.c | ||
cperf_test_latency.h | ||
cperf_test_pmd_cyclecount.c | ||
cperf_test_pmd_cyclecount.h | ||
cperf_test_throughput.c | ||
cperf_test_throughput.h | ||
cperf_test_vector_parsing.c | ||
cperf_test_vector_parsing.h | ||
cperf_test_vectors.c | ||
cperf_test_vectors.h | ||
cperf_test_verify.c | ||
cperf_test_verify.h | ||
cperf.h | ||
dpdk-graph-crypto-perf.py | ||
main.c | ||
meson.build |