aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
authorVirendra Kakade <virendra.kakade@ni.com>2022-03-21 17:57:38 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2022-03-28 12:46:50 -0700
commit348c88ba069917125ea59dd7cc4db570c7e6a9e9 (patch)
tree01ee144610340db95e29ff90f6bf017a1c453499 /host/tests
parent40f0d8e4e59a4d13a6d9b7ac07b4d649a5c813f9 (diff)
downloaduhd-348c88ba069917125ea59dd7cc4db570c7e6a9e9.tar.gz
uhd-348c88ba069917125ea59dd7cc4db570c7e6a9e9.tar.bz2
uhd-348c88ba069917125ea59dd7cc4db570c7e6a9e9.zip
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 <virendra.kakade@ni.com>
Diffstat (limited to 'host/tests')
-rw-r--r--host/tests/pytests/test_streaming.py6
1 files changed, 6 insertions, 0 deletions
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)