[Intel-gfx] [PATCH i-g-t 00/10] gem_wsim improvements

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Wed Jun 17 16:01:10 UTC 2020


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Ripping out of legacy code and adding some new features, plus bugfixes.

First bit is important so the tool can be refactored to support Gen11 and 12
properly. Working sets support is useful for simulating buffer contention and
similar.

Tvrtko Ursulin (10):
  gem_wsim: Rip out userspace balancing
  gem_wsim: Buffer objects working sets and complex dependencies
  gem_wsim: Show workload timing stats
  gem_wsim: Move BO allocation to a helper
  gem_wsim: Support random buffer sizes
  gem_wsim: Support scaling workload batch durations
  gem_wsim: Log max and active working set sizes in verbose mode
  gem_wsim: Snippet of a workload extracted from carchase
  gem_wsim: Implement device selection
  gem_wsim: Fix calibration handling

 benchmarks/Makefile.am                        |    2 +-
 benchmarks/Makefile.sources                   |    6 -
 benchmarks/ewma.h                             |   71 -
 benchmarks/gem_wsim.c                         | 2054 ++++++-----------
 benchmarks/ilog2.h                            |  104 -
 benchmarks/meson.build                        |    6 +-
 benchmarks/wsim/README                        |   63 +
 benchmarks/wsim/carchasepart.wsim             |  184 ++
 benchmarks/wsim/cloud-gaming-60fps.wsim       |   11 +
 benchmarks/wsim/composited-ui.wsim            |    7 +
 benchmarks/wsim/media-1080p-player.wsim       |    2 +
 benchmarks/wsim/media_1n2_480p.wsim           |   12 +-
 benchmarks/wsim/media_1n2_asy.wsim            |    8 +-
 benchmarks/wsim/media_1n3_480p.wsim           |   16 +-
 benchmarks/wsim/media_1n3_asy.wsim            |    8 +
 benchmarks/wsim/media_1n4_480p.wsim           |   20 +-
 benchmarks/wsim/media_1n4_asy.wsim            |   10 +
 benchmarks/wsim/media_1n5_480p.wsim           |   24 +-
 benchmarks/wsim/media_1n5_asy.wsim            |   12 +
 benchmarks/wsim/media_load_balance_17i7.wsim  |   10 +-
 benchmarks/wsim/media_load_balance_19.wsim    |    4 +-
 .../wsim/media_load_balance_4k12u7.wsim       |    2 +
 .../wsim/media_load_balance_fhd26u7.wsim      |   16 +-
 benchmarks/wsim/media_load_balance_hd01.wsim  |   34 +-
 .../wsim/media_load_balance_hd06mp2.wsim      |    6 +-
 benchmarks/wsim/media_load_balance_hd12.wsim  |    6 +-
 .../wsim/media_load_balance_hd17i4.wsim       |    8 +-
 benchmarks/wsim/media_mfe2_480p.wsim          |   12 +-
 benchmarks/wsim/media_mfe3_480p.wsim          |   18 +-
 benchmarks/wsim/media_mfe4_480p.wsim          |   24 +-
 benchmarks/wsim/media_nn_1080p.wsim           |    4 +
 benchmarks/wsim/media_nn_1080p_s1.wsim        |    4 +-
 benchmarks/wsim/media_nn_1080p_s2.wsim        |    2 +
 benchmarks/wsim/media_nn_1080p_s3.wsim        |    2 +
 benchmarks/wsim/media_nn_480p.wsim            |    4 +
 benchmarks/wsim/vcs_balanced.wsim             |   52 +-
 scripts/media-bench.pl                        |  736 ------
 37 files changed, 1171 insertions(+), 2393 deletions(-)
 delete mode 100644 benchmarks/ewma.h
 delete mode 100644 benchmarks/ilog2.h
 create mode 100644 benchmarks/wsim/carchasepart.wsim
 create mode 100644 benchmarks/wsim/cloud-gaming-60fps.wsim
 create mode 100644 benchmarks/wsim/composited-ui.wsim
 delete mode 100755 scripts/media-bench.pl

-- 
2.20.1



More information about the Intel-gfx mailing list