[Intel-gfx] [PATCH] drm/i915: set cache sharing policy to max sharing on SNB+
Chris Wilson
chris at chris-wilson.co.uk
Sat Jul 2 09:20:39 CEST 2011
On Fri, 1 Jul 2011 16:35:07 -0700, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:
> By default, the GPU will only share a very small portion of the CPU
> cache. With this change, both the GPU and CPU will have full access to
> the cache, which should help (sometimes a lot) in most cases.
What's the trade off? Is the GPU data in the cache treated differently
than CPU data when it comes to cache eviction and so this asymmetrically
hurts CPU bound applications? At the least it will force more CPU data out
of the cache, which will be enough to make some people scream and howl.
Do we want to expose this as a parameter whilst we test various
configurations? Is this just yet a another step on the path to a
coordinated cpu-gpu governor?
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list