diff options
| author | Chris Wilson <[email protected]> | 2019-02-04 08:41:05 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-02-04 09:47:28 +0000 |
| commit | 3d7a64b992eab27be75c6cf734be4e87fc88e4b5 (patch) | |
| tree | 398b01da107941e9dc137df6def8530b11afcf3e /tools/perf/scripts/python | |
| parent | 46c0cd8c562bc3e4a99cbaa4ba0904b6871b7b4b (diff) | |
drm/i915: Allow normal clients to always preempt idle priority clients
When first enabling preemption, we hesitated from making it a free-for-all
where every higher priority client would force a preempt-to-idle cycle
and take over from all lower priority clients. We hesitated because we
were uncertain just how well preemption would work in practice, whether
the preemption latency itself would detract from the latency gains for
higher priority tasks and whether it would work at all. Since
introducing preemption, we have been enabling it for more common tasks,
even giving normal clients a small preemptive boost when they first
start (to aide fairness and improve interactivity). Now lets take one
step further and give permission for all normal (priority:0) clients to
preempt any idle (priority:<0) task so that users running long compute
jobs do not overly impact other jobs (i.e. their desktop) and the system
remains responsive under such idle loads.
References: f6322eddaff7 ("drm/i915/preemption: Allow preemption between submission ports")
References: b16c765122f9 ("drm/i915: Priority boost for new clients")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Cc: MichaĆ Winiarski <[email protected]>
Cc: "Bloomfield, Jon" <[email protected]>
Cc: "Stead, Alan" <[email protected]>
Reviewed-by: Daniele Ceraolo Spurio <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions