[dts] [PATCH] tests/nic_single_core_perf: modify accepted_tolerance to percentage

Ali Alnubani alialnu at nvidia.com
Mon Mar 22 19:13:05 CET 2021


> -----Original Message-----
> From: dts <dts-bounces at dpdk.org> On Behalf Of Lijuan Tu
> Sent: Thursday, March 11, 2021 12:48 PM
> To: dpdklab at iol.unh.edu
> Cc: dts at dpdk.org; Lijuan Tu <lijuan.tu at intel.com>
> Subject: [dts] [PATCH] tests/nic_single_core_perf: modify
> accepted_tolerance to percentage
> 
> * accepted_tolerance in conf/nic_single_core_perf.cfg are changed to
> percentage, e.g.
> 	accepted_tolerance = '1%%'
> 	if not set, it will be set to 2% by default.
> * delat in json are chagned to percentage too, e.g.
> 	'delta': '1.5%'
> * expected_throughput will be forced to 1Mpps for compute delat in
> percentage
> * add new conf test_interval in conf/nic_single_core_perf.cfg, which
> indicates interval of getting throughput statistics in second, e.g.
> 	test_interval = 10
> 	if not set, it will be set to 5 seconds by default.
> * collect better statistics , get multiple throughput statistics during
> the test run, and compute the average as the final results.
> 
> Signed-off-by: Lijuan Tu <lijuan.tu at intel.com>
> ---

Thanks for the patch Lijuan.
I'm testing it locally and I'll update soon.

Thanks,
Ali


More information about the dts mailing list