Re: [Intel-gfx] [PATCH v7] drm/i915: Slaughter the thundering i915_wait_request herd

2015-12-08 Thread Dave Gordon
On 08/12/15 14:33, Chris Wilson wrote: On Tue, Dec 08, 2015 at 02:03:39PM +, Tvrtko Ursulin wrote: On 08/12/15 10:44, Chris Wilson wrote: On Mon, Dec 07, 2015 at 03:08:28PM +, Tvrtko Ursulin wrote: Equally, why wouldn't we wake up all waiters for which the requests have been completed?

Re: [Intel-gfx] [PATCH v7] drm/i915: Slaughter the thundering i915_wait_request herd

2015-12-08 Thread Chris Wilson
On Tue, Dec 08, 2015 at 02:03:39PM +, Tvrtko Ursulin wrote: > On 08/12/15 10:44, Chris Wilson wrote: > >On Mon, Dec 07, 2015 at 03:08:28PM +, Tvrtko Ursulin wrote: > >>Equally, why wouldn't we wake up all waiters for which the requests > >>have been completed? > > > >Because we no longer tr

Re: [Intel-gfx] [PATCH v7] drm/i915: Slaughter the thundering i915_wait_request herd

2015-12-08 Thread Tvrtko Ursulin
On 08/12/15 10:44, Chris Wilson wrote: On Mon, Dec 07, 2015 at 03:08:28PM +, Tvrtko Ursulin wrote: Hi, On 03/12/15 16:22, Chris Wilson wrote: One particularly stressful scenario consists of many independent tasks all competing for GPU time and waiting upon the results (e.g. realtime tran

Re: [Intel-gfx] [PATCH v7] drm/i915: Slaughter the thundering i915_wait_request herd

2015-12-08 Thread Chris Wilson
On Mon, Dec 07, 2015 at 03:08:28PM +, Tvrtko Ursulin wrote: > > Hi, > > On 03/12/15 16:22, Chris Wilson wrote: > >One particularly stressful scenario consists of many independent tasks > >all competing for GPU time and waiting upon the results (e.g. realtime > >transcoding of many, many strea

Re: [Intel-gfx] [PATCH v7] drm/i915: Slaughter the thundering i915_wait_request herd

2015-12-07 Thread Tvrtko Ursulin
Hi, On 03/12/15 16:22, Chris Wilson wrote: One particularly stressful scenario consists of many independent tasks all competing for GPU time and waiting upon the results (e.g. realtime transcoding of many, many streams). One bottleneck in particular is that each client waits on its own results,

[Intel-gfx] [PATCH v7] drm/i915: Slaughter the thundering i915_wait_request herd

2015-12-03 Thread Chris Wilson
One particularly stressful scenario consists of many independent tasks all competing for GPU time and waiting upon the results (e.g. realtime transcoding of many, many streams). One bottleneck in particular is that each client waits on its own results, but every client is woken up after every batch