Skip to content

vmtb: SR-IOV VF migration test suite

Adam Miszczak igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tools/vmtb: Define IGT tests used as VF migration workloadstools/vmtb/bench/executors/igt.py+90 -62 replies
2/3tools/vmtb: Provide VF busy migration IGT/gem_wsim workloadstools/vmtb/MANIFEST.in tools/vmtb/vmm_flows/resources/wsim/bmg/idle_ctxs.wsim tools/vmtb/vmm_flows/resources/wsim/bmg/long_nonpreempt.wsim +8 more+180 -01 reply
3/3tools/vmtb: Add VF migration teststools/vmtb/vmm_flows/test_migration.py+1199 -01 reply

Reviews trailers per patch

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

PatchKamil KoniecznyMarcin Bernatowicz
1/3A-b R-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 v1 thread

Cover letter [PATCH i-g-t 0/3] vmtb: SR-IOV VF migration test suite

Introduce VF migration (save/restore) validation coverage by adding a dedicated migration test suite.

At a high level:
- implement VF migration test scenarios (vmm_flows/test_migration.py):
idle and busy migration, double migration, checkpointing and auxiliary subtests
- extend IgtExecutor with new mappings for IGT tests intended as busy migration workloads, covering subtests from xe_exec_reset, xe_exec_threads, xe_ccs, and xe_compute_preempt
- add IGT/gem_wsim workload descriptor files, providing few workload profiles per platform (BMG/PTL):
short/long preemptable and non-preemptable GPU batches, and an idle-with-contexts scenario

Most of provided test cases support parametrization with various VF/VM configurations.

Cc Marcin Bernatowicz <[email protected]>
Cc Kamil Konieczny <[email protected]>

Adam Miszczak (3):
tools/vmtb: Define IGT tests used as VF migration workloads tools/vmtb: Provide VF busy migration IGT/gem_wsim workloads tools/vmtb: Add VF migration tests

 tools/vmtb/MANIFEST.in                        |    1 +
 tools/vmtb/bench/executors/igt.py             |   96 +-
 .../resources/wsim/bmg/idle_ctxs.wsim         |   22 +
 .../resources/wsim/bmg/long_nonpreempt.wsim   |   18 +
 .../resources/wsim/bmg/long_preempt.wsim      |   17 +
 .../resources/wsim/bmg/short_nonpreempt.wsim  |   18 +
 .../resources/wsim/bmg/short_preempt.wsim     |   17 +
 .../resources/wsim/ptl/idle_ctxs.wsim         |   21 +
 .../resources/wsim/ptl/long_nonpreempt.wsim   |   17 +
 .../resources/wsim/ptl/long_preempt.wsim      |   16 +
 .../resources/wsim/ptl/short_nonpreempt.wsim  |   17 +
 .../resources/wsim/ptl/short_preempt.wsim     |   16 +
 tools/vmtb/vmm_flows/test_migration.py        | 1199 +++++++++++++++++
 13 files changed, 1469 insertions(+), 6 deletions(-)
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/bmg/idle_ctxs.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/bmg/long_nonpreempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/bmg/long_preempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/bmg/short_nonpreempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/bmg/short_preempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/ptl/idle_ctxs.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/ptl/long_nonpreempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/ptl/long_preempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/ptl/short_nonpreempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/resources/wsim/ptl/short_preempt.wsim
 create mode 100644 tools/vmtb/vmm_flows/test_migration.py
Signature · 1 line
2.39.1