From 348c88ba069917125ea59dd7cc4db570c7e6a9e9 Mon Sep 17 00:00:00 2001 From: Virendra Kakade Date: Mon, 21 Mar 2022 17:57:38 -0500 Subject: tests: use new args for x410 streaming tests Use new benchmark_rate args "--multi_streamer" and "--priority" for X410 streaming tests. This gets the best performance from the streaming host machine. Signed-off-by: Virendra Kakade --- host/tests/pytests/test_streaming.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/host/tests/pytests/test_streaming.py b/host/tests/pytests/test_streaming.py index a7e26354a..9a1af66fc 100644 --- a/host/tests/pytests/test_streaming.py +++ b/host/tests/pytests/test_streaming.py @@ -244,6 +244,12 @@ def test_streaming(pytestconfig, dut_type, use_dpdk, dual_10G, rate, rx_rate, rx benchmark_rate_params["tx_rate"] = tx_rate benchmark_rate_params["tx_channels"] = tx_channels + # Run X410 streaming tests in multi_streamer mode and high thread priority + # since those settings allow for best performance. + if dut_type.lower() == "x410": + benchmark_rate_params["multi_streamer"] = 1 + benchmark_rate_params["priority"] = "high" + # run benchmark rate print() results = batch_run_benchmark_rate.run(benchmark_rate_path, iterations, benchmark_rate_params) -- cgit v1.2.3