Re: [Intel-gfx] [PATCH] drm/i915: Mitigate retirement starvation a bit

2016-02-04 Thread Chris Wilson
On Thu, Feb 04, 2016 at 01:30:30PM +, Tvrtko Ursulin wrote: > On 04/02/16 12:40, Chris Wilson wrote: > >The most effective treatment I found is moving the retire-requests from > >execbuf (which exists for similar reasons) to get-pages. > > > >http://cgit.freedesktop.org/~ickle/linux-2.6/commit/

Re: [Intel-gfx] [PATCH] drm/i915: Mitigate retirement starvation a bit

2016-02-04 Thread Chris Wilson
On Thu, Feb 04, 2016 at 01:30:30PM +, Tvrtko Ursulin wrote: > > > On 04/02/16 12:40, Chris Wilson wrote: > >On Thu, Feb 04, 2016 at 12:25:24PM +, Tvrtko Ursulin wrote: > >>From: Tvrtko Ursulin > >> > >>In execlists mode internal house keeping of the discarded > >>requests (and so context

Re: [Intel-gfx] [PATCH] drm/i915: Mitigate retirement starvation a bit

2016-02-04 Thread Tvrtko Ursulin
On 04/02/16 12:40, Chris Wilson wrote: On Thu, Feb 04, 2016 at 12:25:24PM +, Tvrtko Ursulin wrote: From: Tvrtko Ursulin In execlists mode internal house keeping of the discarded requests (and so contexts and VMAs) relies solely on the retire worker, which can be prevented from running by

Re: [Intel-gfx] [PATCH] drm/i915: Mitigate retirement starvation a bit

2016-02-04 Thread Chris Wilson
On Thu, Feb 04, 2016 at 12:25:24PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > In execlists mode internal house keeping of the discarded > requests (and so contexts and VMAs) relies solely on the retire > worker, which can be prevented from running by just being > unlucky when busy cl

[Intel-gfx] [PATCH] drm/i915: Mitigate retirement starvation a bit

2016-02-04 Thread Tvrtko Ursulin
From: Tvrtko Ursulin In execlists mode internal house keeping of the discarded requests (and so contexts and VMAs) relies solely on the retire worker, which can be prevented from running by just being unlucky when busy clients are hammering on the big lock. Prime example is the gem_close_race IG