Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/5] Stress copy engines during render
@ 2025-03-05  9:06 Francois Dugast
  2025-03-05  9:06 ` [PATCH i-g-t 1/5] lib/intel_blt: Promote blt_bo_copy() Francois Dugast
                   ` (16 more replies)
  0 siblings, 17 replies; 26+ messages in thread
From: Francois Dugast @ 2025-03-05  9:06 UTC (permalink / raw)
  To: igt-dev; +Cc: Francois Dugast

This series uses existing BLT copy code to stress the copy engines with many
jobs in parallel, while measuring the impact on the execution duration of a
rendering job. This has been tested on BMG, where a typical run looks like
this:

    IGT-Version: 1.30-gd625bfd4f (x86_64) (Linux: 6.14.0-rc3+ x86_64)
    Using IGT_SRANDOM=1741100923 for randomisation
    Opened device: /dev/dri/card0
    Starting subtest: render-stress-0-copies
    Render duration: avg = 3026116 ns, min = 2366875 ns, max = 6821519 ns
    Subtest render-stress-0-copies: SUCCESS (0.326s)
    Starting subtest: render-stress-1-copies
    Render duration: avg = 2301721 ns, min = 2053743 ns, max = 3889482 ns
    Subtest render-stress-1-copies: SUCCESS (0.276s)
    Starting subtest: render-stress-2-copies
    Render duration: avg = 7398805 ns, min = 1673659 ns, max = 261850405 ns
    Subtest render-stress-2-copies: SUCCESS (0.535s)
    Starting subtest: render-stress-4-copies
    Render duration: avg = 17759307 ns, min = 2036909 ns, max = 780867436 ns
    Subtest render-stress-4-copies: SUCCESS (1.059s)
    Starting subtest: render-stress-16-copies
    Render duration: avg = 79980375 ns, min = 2014429 ns, max = 3884022695 ns
    Subtest render-stress-16-copies: SUCCESS (4.180s)

Francois Dugast (5):
  lib/intel_blt: Promote blt_bo_copy()
  lib/intel_blt: Allow forcing multiple runs in blt_mem_copy()
  lib/intel_blt: Use blt_mem_copy() to stress copy functions
  tests/intel/xe_render_copy: Expose render duration
  tests/intel/xe_render_copy: Render under copy stress

 lib/intel_blt.c              |  86 +++++++++++---
 lib/intel_blt.h              |   6 +-
 tests/intel/xe_copy_basic.c  |  36 +-----
 tests/intel/xe_render_copy.c | 212 ++++++++++++++++++++++++++++++++++-
 4 files changed, 288 insertions(+), 52 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 26+ messages in thread
* [PATCH i-g-t 0/5] Stress copy engines during render
@ 2025-03-05 13:57 Francois Dugast
  2025-03-05 13:57 ` [PATCH i-g-t 1/5] lib/intel_blt: Promote blt_bo_copy() Francois Dugast
  0 siblings, 1 reply; 26+ messages in thread
From: Francois Dugast @ 2025-03-05 13:57 UTC (permalink / raw)
  To: igt-dev; +Cc: Francois Dugast

This series uses existing BLT copy code to stress the copy engines with many
jobs in parallel, while measuring the impact on the execution duration of a
rendering job. This has been tested on BMG, where a typical run looks like
this:

    IGT-Version: 1.30-gd625bfd4f (x86_64) (Linux: 6.14.0-rc3+ x86_64)
    Using IGT_SRANDOM=1741100923 for randomisation
    Opened device: /dev/dri/card0
    Starting subtest: render-stress-0-copies
    Render duration: avg = 3026116 ns, min = 2366875 ns, max = 6821519 ns
    Subtest render-stress-0-copies: SUCCESS (0.326s)
    Starting subtest: render-stress-1-copies
    Render duration: avg = 2301721 ns, min = 2053743 ns, max = 3889482 ns
    Subtest render-stress-1-copies: SUCCESS (0.276s)
    Starting subtest: render-stress-2-copies
    Render duration: avg = 7398805 ns, min = 1673659 ns, max = 261850405 ns
    Subtest render-stress-2-copies: SUCCESS (0.535s)
    Starting subtest: render-stress-4-copies
    Render duration: avg = 17759307 ns, min = 2036909 ns, max = 780867436 ns
    Subtest render-stress-4-copies: SUCCESS (1.059s)
    Starting subtest: render-stress-16-copies
    Render duration: avg = 79980375 ns, min = 2014429 ns, max = 3884022695 ns
    Subtest render-stress-16-copies: SUCCESS (4.180s)

Francois Dugast (5):
  lib/intel_blt: Promote blt_bo_copy()
  lib/intel_blt: Allow forcing multiple runs in blt_mem_copy()
  lib/intel_blt: Use blt_mem_copy() to stress copy functions
  tests/intel/xe_render_copy: Expose render duration
  tests/intel/xe_render_copy: Render under copy stress

 lib/intel_blt.c              |  86 +++++++++++---
 lib/intel_blt.h              |   6 +-
 tests/intel/xe_copy_basic.c  |  36 +-----
 tests/intel/xe_render_copy.c | 212 ++++++++++++++++++++++++++++++++++-
 4 files changed, 288 insertions(+), 52 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-03-19 19:21 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05  9:06 [PATCH i-g-t 0/5] Stress copy engines during render Francois Dugast
2025-03-05  9:06 ` [PATCH i-g-t 1/5] lib/intel_blt: Promote blt_bo_copy() Francois Dugast
2025-03-19 12:41   ` Thomas Hellström
2025-03-19 19:15     ` Zbigniew Kempczyński
2025-03-05  9:06 ` [PATCH i-g-t 2/5] lib/intel_blt: Allow forcing multiple runs in blt_mem_copy() Francois Dugast
2025-03-19 12:42   ` Thomas Hellström
2025-03-05  9:06 ` [PATCH i-g-t 3/5] lib/intel_blt: Use blt_mem_copy() to stress copy functions Francois Dugast
2025-03-19 12:46   ` Thomas Hellström
2025-03-19 19:21     ` Zbigniew Kempczyński
2025-03-05  9:06 ` [PATCH i-g-t 4/5] tests/intel/xe_render_copy: Expose render duration Francois Dugast
2025-03-19 12:48   ` Thomas Hellström
2025-03-05  9:06 ` [PATCH i-g-t 5/5] tests/intel/xe_render_copy: Render under copy stress Francois Dugast
2025-03-06  4:30 ` ✓ Xe.CI.BAT: success for Stress copy engines during render (rev2) Patchwork
2025-03-06  4:47 ` ✓ i915.CI.BAT: " Patchwork
2025-03-06  7:00 ` ✗ i915.CI.Full: failure " Patchwork
2025-03-06 10:38 ` ✗ Xe.CI.Full: " Patchwork
2025-03-11  7:31 ` ✓ Xe.CI.BAT: success for Stress copy engines during render (rev3) Patchwork
2025-03-11  8:04 ` ✓ i915.CI.BAT: " Patchwork
2025-03-11  9:24 ` ✗ i915.CI.Full: failure " Patchwork
2025-03-12  1:06 ` ✗ Xe.CI.Full: " Patchwork
2025-03-12 22:53 ` ✗ Xe.CI.BAT: failure for Stress copy engines during render (rev4) Patchwork
2025-03-12 23:04 ` ✓ i915.CI.BAT: success " Patchwork
2025-03-12 23:46 ` ✓ i915.CI.Full: " Patchwork
2025-03-13 14:39 ` ✗ Xe.CI.Full: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2025-03-05 13:57 [PATCH i-g-t 0/5] Stress copy engines during render Francois Dugast
2025-03-05 13:57 ` [PATCH i-g-t 1/5] lib/intel_blt: Promote blt_bo_copy() Francois Dugast
2025-03-06  5:31   ` Zbigniew Kempczyński

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox