[Mesa-dev] [PATCH 00/21] Reduce ir_variable memory usage

Tapani Pälli tapani.palli at intel.com
Wed May 28 03:57:29 PDT 2014


On 05/28/2014 05:48 AM, Ian Romanick wrote:
> This series reduces the memory usage of ir_variable quite significantly.
>
> The first couple patches add a mechanism to determine the amount of
> memory used by any kind of IR object.  This is used to collect the data
> that is shown in the commit messages through the series.

Nice to see this happen, it also reduces the data size for the IR binary
cache I've been implementing. With these patches cache generated by
Piglit quick round (~10680 tests run) goes down from 63MB to 61MB. I've
just sent 2 related size reduction patches where structure members are
bigger than required.

// Tapani



More information about the mesa-dev mailing list