Hello Marek instead of utilizing jemalloc, I strongly recommend you take a look (for example) at:
- classes such as ir_copy_propagation_elements_visitor - file glcpp-parse.y and to put optimizations and better algorithms in there. Eliminating the causes of malloc-like calls will result in 2x faster shader compilation in the case of Alien Isolation - instead of the 1.1x speedup you achieved with jemalloc. Instructions: 1. Compile and install Mesa with -O0 -g in CFLAGS and CXXFLAGS 2. If needed, adjust LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH 3. $ valgrind --tool=callgrind --instr-atstart=no --trace-children=yes AlienIsolation 4. In the game: proceed to the point where Alien Isolation starts compiling the shaders 5. $ callgrind_control -i on 6. Run "callgrind_control --dump" several times 7. $ kcachegrind callgrind.out... Sincerely Jan (http://atom-symbol.net)
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev