All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 i-g-t 0/3] tests/intel/xe_sriov_scheduling: Refactor submission/measurement
@ 2025-08-25  8:22 Marcin Bernatowicz
  2025-08-25  8:22 ` [PATCH v3 i-g-t 1/3] tests/intel/xe_sriov_scheduling: Keep K submissions in flight Marcin Bernatowicz
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Marcin Bernatowicz @ 2025-08-25  8:22 UTC (permalink / raw)
  To: igt-dev
  Cc: Marcin Bernatowicz, Adam Miszczak, Jakub Kolakowski,
	Kamil Konieczny, Lukasz Laguna, Satyanarayana K V P

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@linux.intel.com>
Cc: Adam Miszczak <adam.miszczak@linux.intel.com>
Cc: Jakub Kolakowski <jakub1.kolakowski@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Lukasz Laguna <lukasz.laguna@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-08-26 14:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-25  8:22 [PATCH v3 i-g-t 0/3] tests/intel/xe_sriov_scheduling: Refactor submission/measurement Marcin Bernatowicz
2025-08-25  8:22 ` [PATCH v3 i-g-t 1/3] tests/intel/xe_sriov_scheduling: Keep K submissions in flight Marcin Bernatowicz
2025-08-25  9:15   ` Laguna, Lukasz
2025-08-25  8:22 ` [PATCH v3 i-g-t 2/3] tests/intel/xe_sriov_scheduling: Compute throughput from completion timestamps Marcin Bernatowicz
2025-08-25  9:15   ` Laguna, Lukasz
2025-08-25  8:22 ` [PATCH v3 i-g-t 3/3] tests/intel/xe_sriov_scheduling: Make in-flight submissions configurable Marcin Bernatowicz
2025-08-25 10:37 ` ✓ Xe.CI.BAT: success for tests/intel/xe_sriov_scheduling: Refactor submission/measurement (rev2) Patchwork
2025-08-25 10:49 ` ✓ i915.CI.BAT: " Patchwork
2025-08-25 12:41 ` ✗ Xe.CI.Full: failure " Patchwork
2025-08-25 13:27 ` ✗ i915.CI.Full: " Patchwork
2025-08-26 14:51   ` Bernatowicz, Marcin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.