[Intel-gfx] [PATCH i-g-t] i915/gem_tiled_swapping: Tweak mlocked size

Andi Shyti andi.shyti at intel.com
Wed Sep 4 06:47:39 UTC 2019


Hi Chris,

On Tue, Sep 03, 2019 at 08:31:51PM +0100, Chris Wilson wrote:
> On my systems with lots of memdebug enabled, we would hit the oomkiller
> 90% of the time during the initial mlock prior to allocating any objects
> (and about 20% of the time lockup / panic). Tweak the target allocation
> sizes, and include a few more breadcrumbs tracing the allocations so
> that we can reliably start the tests. We still do hit our shrinker and
> even the oom notifier, so still achieving its goal of exercising low
> memory and swap pressure.
> 
> To slightly compensate for the reduced mempressure (albeit we do not
> remove the swapping, the raison d'etre of the test), we increase the
> number of threads to force the system to reuse active fences, making it
> more stressful on the fence code.

Ah... OK :)

> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Andi Shyti <andi.shyti at intel.com>

Reviewed-by: Andi Shyti <andi.shyti at intel.com>

Andi


More information about the Intel-gfx mailing list