Re: [Intel-gfx] [PATCH 1/3] drm/i915: Allow kswapd to pause the device whilst reaping

2017-06-02 Thread Chris Wilson
Quoting Mika Kuoppala (2017-06-02 13:38:34) > Chris Wilson writes: > > > Quoting Mika Kuoppala (2017-06-02 13:02:57) > >> Chris Wilson writes: > >> > >> > In commit 5763ff04dc4e ("drm/i915: Avoid GPU stalls from kswapd") we > >> > stopped direct reclaim and kswapd from triggering GPU/client sta

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Allow kswapd to pause the device whilst reaping

2017-06-02 Thread Mika Kuoppala
Chris Wilson writes: > Quoting Mika Kuoppala (2017-06-02 13:02:57) >> Chris Wilson writes: >> >> > In commit 5763ff04dc4e ("drm/i915: Avoid GPU stalls from kswapd") we >> > stopped direct reclaim and kswapd from triggering GPU/client stalls >> > whilst running (by restricting the objects they c

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Allow kswapd to pause the device whilst reaping

2017-06-02 Thread Chris Wilson
Quoting Mika Kuoppala (2017-06-02 13:02:57) > Chris Wilson writes: > > > In commit 5763ff04dc4e ("drm/i915: Avoid GPU stalls from kswapd") we > > stopped direct reclaim and kswapd from triggering GPU/client stalls > > whilst running (by restricting the objects they could reap to be idle). > > > >

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Allow kswapd to pause the device whilst reaping

2017-06-02 Thread Mika Kuoppala
Chris Wilson writes: > In commit 5763ff04dc4e ("drm/i915: Avoid GPU stalls from kswapd") we > stopped direct reclaim and kswapd from triggering GPU/client stalls > whilst running (by restricting the objects they could reap to be idle). > > However with abusive GPU usage, it becomes quite easy to

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Allow kswapd to pause the device whilst reaping

2017-06-02 Thread Joonas Lahtinen
On to, 2017-06-01 at 14:33 +0100, Chris Wilson wrote: > In commit 5763ff04dc4e ("drm/i915: Avoid GPU stalls from kswapd") we > stopped direct reclaim and kswapd from triggering GPU/client stalls > whilst running (by restricting the objects they could reap to be idle). > > However with abusive GPU

[Intel-gfx] [PATCH 1/3] drm/i915: Allow kswapd to pause the device whilst reaping

2017-06-01 Thread Chris Wilson
In commit 5763ff04dc4e ("drm/i915: Avoid GPU stalls from kswapd") we stopped direct reclaim and kswapd from triggering GPU/client stalls whilst running (by restricting the objects they could reap to be idle). However with abusive GPU usage, it becomes quite easy to starve kswapd of memory and prev