[Mesa-dev] [RFC] ralloc: use jemalloc for faster GLSL compilation

Clemens Eisserer linuxhippy at gmail.com
Thu Sep 29 18:16:51 UTC 2016


Hi,

> The GLSL compiler can be slowed down significantly by keeping 5x
> LLVMContext in memory between compilations in radeonsi. The fact that
> radeonsi can indirectly slow down the GLSL compiler (but not LLVM) is
> a strong indication that we have a problem.

This will mean there will be two heap regions in virtual adress space.
As high-performance malloc implementations are quite greedy releasing
memory back to the kernel - wouldn't it be good to have at least some
numbers regarding memory footprint before making jemalloc the default?

Br, Clemens


More information about the mesa-dev mailing list