Skip to content

tests/intel/xe_sriov_scheduling: Refactor submission/measurement

Marcin Bernatowicz igt-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v23 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tests/intel/xe_sriov_scheduling: Keep K submissions in flighttests/intel/xe_sriov_scheduling.c+87 -371 reply
2/3tests/intel/xe_sriov_scheduling: Compute throughput from completion timestampstests/intel/xe_sriov_scheduling.c+39 -291 reply
3/3tests/intel/xe_sriov_scheduling: Make in-flight submissions configurabletests/intel/xe_sriov_scheduling.c+46 -90 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchLukasz Laguna
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 i-g-t 0/3] tests/intel/xe_sriov_scheduling: Refactor submission/measurement

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)

Cc Adam Miszczak <[email protected]>
Cc Jakub Kolakowski <[email protected]>
Cc Kamil Konieczny <[email protected]>
Cc Lukasz Laguna <[email protected]>
Cc Satyanarayana K V P <[email protected]>

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(-)
Signature · 1 line
2.31.1