[PATCH v3 i-g-t 0/3] tests/intel/xe_sriov_scheduling: Refactor submission/measurement
Marcin Bernatowicz
marcin.bernatowicz at linux.intel.com
Mon Aug 25 08:22:51 UTC 2025
Refactor submission/measurement to better saturate HW and make
throughput comparisons more robust, especially with short jobs.
Add the --inflight option.
- Drive a K-in-flight pipeline per VF using per-slot BO/addr/spin and
binary out-fences; add subm_exec_slot()/subm_wait_slot() (prefill +
refill).
- Record complete_ts[] and per-slot submit_ts[]; build the common
window from completions [max(first), min(last)] and compute
throughput as count/window.
- Push durations as submit-to-completion (complete_ts - submit_ts) and
print "mean submit->signal latency".
- Add --inflight (0=auto; non-preempt defaults to 1; short jobs pick
higher K); print chosen K in the banner.
v2: - drop redundant num_syncs init; simplify subm_exec_slot (Lukasz)
- free complete_ts (Lukasz)
Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz at linux.intel.com>
Cc: Adam Miszczak <adam.miszczak at linux.intel.com>
Cc: Jakub Kolakowski <jakub1.kolakowski at intel.com>
Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Cc: Lukasz Laguna <lukasz.laguna at intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p at intel.com>
Marcin Bernatowicz (3):
tests/intel/xe_sriov_scheduling: Keep K submissions in flight
tests/intel/xe_sriov_scheduling: Compute throughput from completion
timestamps
tests/intel/xe_sriov_scheduling: Make in-flight submissions
configurable
tests/intel/xe_sriov_scheduling.c | 237 +++++++++++++++++++++---------
1 file changed, 167 insertions(+), 70 deletions(-)
--
2.31.1
More information about the igt-dev
mailing list