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

Thomas Hellström thomas.hellstrom at linux.intel.com
Wed Jun 26 12:38:31 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 | 126 ++++++++++++++++++++++++++++++++---------
 1 file changed, 99 insertions(+), 27 deletions(-)

-- 
2.44.0



More information about the igt-dev mailing list