[Intel-gfx] [PATCH 2/6] drm/i915: Split the batch pool by engine

Chris Wilson chris at chris-wilson.co.uk
Thu Feb 26 03:57:21 PST 2015


On Thu, Feb 26, 2015 at 10:05:14AM +0000, Chris Wilson wrote:
> I woke up one morning and found 50k objects sitting in the batch pool
> and every search seemed to iterate the entire list... Painting the
> screen in oils would provide a more fluid display.

Fwiw, I've figured out the culprit here. mesa runs unthrottled when
rendering into a fbo and was able to build up a very long queue of
batches. Switching to another renderer required walking over the old
batches that were the wrong size for it, thus being very slow.

The mitigation here is then the reaping of batch pools upon idle.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list