Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
	"Matthew Brost" <matthew.brost@intel.com>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>
Subject: [PATCH i-g-t v3 0/2] tests/intel/xe_evict: Adapt the working set to memory size
Date: Sun, 30 Jun 2024 20:05:00 +0200	[thread overview]
Message-ID: <20240630180502.81556-1-thomas.hellstrom@linux.intel.com> (raw)

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


             reply	other threads:[~2024-06-30 18:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-30 18:05 Thomas Hellström [this message]
2024-06-30 18:05 ` [PATCH i-g-t v3 1/2] tests/intel/xe_evict: Reduce allocations to maximum working set Thomas Hellström
2024-08-22 15:37   ` Nirmoy Das
2024-06-30 18:05 ` [PATCH i-g-t v3 2/2] tests/intel/xe_evict: Reduce the "large" bo size for threaded eviction Thomas Hellström
2024-08-22 15:38   ` Nirmoy Das
2024-06-30 18:44 ` ✓ Fi.CI.BAT: success for tests/intel/xe_evict: Adapt the working set to memory size (rev2) Patchwork
2024-06-30 19:44 ` ✓ CI.xeFULL: " Patchwork
2024-06-30 19:51 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-08-23 20:45 ` ✓ CI.xeBAT: success for tests/intel/xe_evict: Adapt the working set to memory size (rev3) Patchwork
2024-08-23 20:58 ` ✓ Fi.CI.BAT: " Patchwork
2024-08-24  3:53 ` ✓ CI.xeFULL: " Patchwork
2024-08-25 14:48 ` ✗ Fi.CI.IGT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240630180502.81556-1-thomas.hellstrom@linux.intel.com \
    --to=thomas.hellstrom@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=matthew.brost@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox