[Intel-gfx] [PATCH 5/6] drm/i915: Add per client max context ban limit

2016-11-18 Thread Mika Kuoppala
If we have a bad client submitting unfavourably across different contexts, creating new ones, the per context scoring of badness doesn't remove the root cause, the offending client. To counter, keep track of per client context bans. Deny access if client is responsible for more than 3 context bans

Re: [Intel-gfx] [PATCH 5/6] drm/i915: Add per client max context ban limit

2016-11-16 Thread Chris Wilson
On Wed, Nov 16, 2016 at 05:20:33PM +0200, Mika Kuoppala wrote: > If we have a bad client submitting unfavourably across different > contexts, creating new ones, the per context scoring of badness > doesn't remove the root cause, the offending client. > To counter, keep track of per client context b

[Intel-gfx] [PATCH 5/6] drm/i915: Add per client max context ban limit

2016-11-16 Thread Mika Kuoppala
If we have a bad client submitting unfavourably across different contexts, creating new ones, the per context scoring of badness doesn't remove the root cause, the offending client. To counter, keep track of per client context bans. Deny access if client is responsible for more than 3 context bans

Re: [Intel-gfx] [PATCH 5/6] drm/i915: Add per client max context ban limit

2016-11-15 Thread Mika Kuoppala
Chris Wilson writes: > On Tue, Nov 15, 2016 at 04:36:35PM +0200, Mika Kuoppala wrote: >> If we have a bad client submitting unfavourably across different >> contexts, creating new ones, the per context scoring of badness >> doesn't remove the root cause, the offending client. >> To counter, keep

Re: [Intel-gfx] [PATCH 5/6] drm/i915: Add per client max context ban limit

2016-11-15 Thread Chris Wilson
On Tue, Nov 15, 2016 at 04:36:35PM +0200, Mika Kuoppala wrote: > If we have a bad client submitting unfavourably across different > contexts, creating new ones, the per context scoring of badness > doesn't remove the root cause, the offending client. > To counter, keep track of per client context b

[Intel-gfx] [PATCH 5/6] drm/i915: Add per client max context ban limit

2016-11-15 Thread Mika Kuoppala
If we have a bad client submitting unfavourably across different contexts, creating new ones, the per context scoring of badness doesn't remove the root cause, the offending client. To counter, keep track of per client context bans. Deny access if client is responsible for more than 3 context bans