[Mesa-dev] [PATCH 0/4] improve buffer cache and reuse

Chris Wilson chris at chris-wilson.co.uk
Sat May 5 08:11:28 UTC 2018


Quoting James Xiong (2018-05-05 01:56:01)
> This series align the buffer size up to page instead of a bucket size
> to improve memory allocation efficiency.

It doesn't though. It still retrieves up to the bucket size, so with a
little cache poisoning (or a series of unfortunate events) it will be no
better than before.

Perhaps open with the problem statement. What is it you are trying to
fix? Would adding metrics to the buffer cache be a good start to
demonstrating what needs improving?
-Chris


More information about the mesa-dev mailing list