Test: Refactored performance tests on rxtxapp#1306
Conversation
99ea65a to
e55efd6
Compare
b89972a to
33d8e2d
Compare
f569077 to
cfbf02c
Compare
…approach. Tests are prepared for test performance for multiple session on single lcore. Signed-off-by: Wilczynski, Andrzej <andrzej.wilczynski@intel.com>
Multi-session performance tests are now available for 25, 30, 50, and 59 FPS with and without DSA usage. Currently, only FPS metrics are measured. Additional KPIs will be enhanced in the future. Signed-off-by: Wilczynski, Andrzej <andrzej.wilczynski@intel.com>
Signed-off-by: Wilczynski, Andrzej <andrzej.wilczynski@intel.com>
Signed-off-by: Wilczynski, Andrzej <andrzej.wilczynski@intel.com>
Signed-off-by: Wilczynski, Andrzej <andrzej.wilczynski@intel.com>
Signed-off-by: Wilczynski, Andrzej <andrzej.wilczynski@intel.com>
…s rx redundant single core Signed-off-by: Wilczynski, Andrzej <andrzej.wilczynski@intel.com>
36fba0b to
aff37bc
Compare
…port generation Signed-off-by: Wilczynski, Andrzej <andrzej.wilczynski@intel.com>
0aa748d to
b2528de
Compare
8fc9cd1 to
69534fd
Compare
Signed-off-by: Wilczynski, Andrzej <andrzej.wilczynski@intel.com>
ad8c956 to
926fae6
Compare
tests/validation/mtl_engine/dsa.py
Outdated
| # Copyright(c) 2024-2025 Intel Corporation | ||
|
|
||
| """ | ||
| DSA (Data Streaming Accelerator) device management — detection, NUMA validation, setup. |
There was a problem hiding this comment.
I would rename it to DMA, this is the general dma handling isn't it ?
| # ── Verify media file is available on the TX host ── | ||
| # The TX side reads the input file; if missing the companion crashes. | ||
| _ensure_media_on_host(tx_host, media_file_path, test_config) |
There was a problem hiding this comment.
i don't think we wan't to do this this way there is a pytest fixture for input files ramdisk creaton,
Here you just put the files randomly outside of that framework if you do so the perf will and is limited via the disk operations wchich is suboptimal
IF there is no file we exit with error and thats fine
Please configure the ramdisk way
DawidWesierski4
left a comment
There was a problem hiding this comment.
i geniully think that the most importat would be the ramdisk fixture workaround fixes
and the genconfig -> i would try to simplify it, we don't wnat to add anything there
we should propably also add copyright everywhere i see a lot of these are missing
82e0fd9 to
fbb0ed7
Compare
fbb0ed7 to
449ce07
Compare
Purpose
Introduces a dual-host session capacity sweep framework for MTL ST2110-20 performance testing. Uses binary search to find the maximum number of video sessions that maintain target FPS on a single lcore (or multi-core), across resolutions (1080p/4K/8K), framerates (25/29/50/59fps), with optional ST2022-7 redundancy and DSA offloading.
Key Modifications
• conftest.py — Major expansion: topology fixture override for extra fields (dsa_device, build_path, per-host mtl_path), nic_port_list now sets up redundant VFs on 2nd NIC, new collect_platform_config autouse fixture, log_session routes perf tests to dedicated log folder, auto-base_performance marker for 1080p/59fps tests
• rxtxapp.py — Config generation refactored for ST2022-7 redundant mode (dual interfaces, dual IP arrays), queue count overrides (rx_queues_cnt/tx_queues_cnt), netsniff capture_time fix
• application_base.py — start_process changed to background=True (was blocking), get_executable_path handles direct paths
• nicctl.py — Per-host MTL paths, new reset_vfio_bindings() (crash recovery) and ensure_vfio_bound() (inter-iteration cleanup)
• gen_config.py — New --media_path and --dsa_device CLI args, extra_info field in topology config
• execute.py — New helpers: kill_all_rxtxapp(), stop_remote_process(), read_remote_log()
• universal_params.py — New params: redundant, nic_port_r, source_ip_r, destination_ip_r, rx_queues_cnt, tx_queues_cnt, disable_migrate, tx_copy_once
• ip_pools.py — New tx_r/rx_r redundant IP address pools
pytest.ini — Registered performance and base_performance markers