[PATCH i-g-t v3 0/2] tests/intel/xe_evict: Adapt the working set to memory size

Thomas Hellström thomas.hellstrom at linux.intel.com
Sun Jun 30 18:05:00 UTC 2024


It turns out that xe_evict in the cm and thread mode is a very good test for
exhaustive eviction. But the test sometimes uses a working set that doesn't fit
in gpu-accessible memory and a total memory size that exceeds the available
system size. Attempt to fix that to avoid false failures. With these fixes
the test should pass unless in -cm mode or multithreaded mode. These require
fixes for exhaustive eviction in the xe kernel driver.

Thomas Hellström (2):
  tests/intel/xe_evict: Reduce allocations to maximum working set
  tests/intel/xe_evict: Reduce the "large" bo size for threaded eviction

 tests/intel/xe_evict.c | 127 ++++++++++++++++++++++++++++++++---------
 1 file changed, 100 insertions(+), 27 deletions(-)

-- 
2.44.0



More information about the igt-dev mailing list