[dpdk-dev] [PATCH v2 3/4] usertools: add script to graph crypto perf results

Dybkowski, AdamX adamx.dybkowski at intel.com
Fri Jan 15 10:43:11 CET 2021


> -----Original Message-----
> From: Power, Ciara <ciara.power at intel.com>
> Sent: Thursday, 14 January, 2021 11:41
> To: dev at dpdk.org
> Cc: Doherty, Declan <declan.doherty at intel.com>; akhil.goyal at nxp.com;
> stephen at networkplumber.org; Dybkowski, AdamX
> <adamx.dybkowski at intel.com>; Power, Ciara <ciara.power at intel.com>;
> Thomas Monjalon <thomas at monjalon.net>
> Subject: [PATCH v2 3/4] usertools: add script to graph crypto perf results
> 
> 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 at intel.com>

Acked-by: Adam Dybkowski <adamx.dybkowski at intel.com>



More information about the dev mailing list