Reducing Memory Usage of Mesa's Shader Compiler (Again)
Why does this shader need 80GiB to compile?
- Track: Graphics devroom
- Room: K.4.401
- Day: Saturday
- Start: 18:00
- End: 18:25
During recent work to implement software double precision (fp64) support in Mesa's shading language compiler, some shaders were found to use excessive amounts of memory. One pessimal test case used over 80GiB. This talk will discuss techniques that were used to reduce that memory usage to less the 2GiB. This reduction was achieved through a combination of optimizing existing data structures, use of more compact data structures, and improved memory management. Use of tools such as Valgrind and pahole will be covered.
Speakers
Ian Romanick |