[Mesa-dev] [PATCH 0/8] i965: Don't recycle BOs until they are idle

Michel Dänzer michel at daenzer.net
Fri Jun 15 15:31:40 UTC 2018


On 2018-06-15 05:25 PM, Jason Ekstrand wrote:
> On June 15, 2018 01:14:24 Michel Dänzer <michel at daenzer.net> wrote:
>> On 2018-06-15 07:31 AM, Jason Ekstrand wrote:
>>>
>>> I did some testing and x11perf -copywinwin500 is... exactly the same
>>> with
>>> or without my patches.  If anything they might improve it by just a
>>> hair.
>>
>> Possible explanations I can think of:
>>
>> 1. Your glamor still has its own FBO cache. Which version of xserver are
>> you testing with?
>>
> 1.19 I think

Okay, that doesn't have the glamor FBO cache anymore.


>> 2. The i965 driver cache isn't hit even before these changes.
> 
> It's definitely getting hit in both cases, it just may require a
> slightly larger cache of we aren't recycling BOs until they're idle.

It might be more than just slightly, -copywinwin500 can queue many
overlapping copies between flushes. Can you compare the maximum total
cache size with and without this series?


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-dev mailing list