Developer Mike Blumenkrantz, who’s one in every of many underneath contract by Valve, has launched one other weblog put up highlighting one other enjoyable optimization from their ongoing Mesa driver work.
The put up as typical is extremely technical, so if you wish to full information give it a learn. The difficulty is with how Mesa was coping with the Vulkan Queue system, and what they had been doing initially gave the impression to be a little bit of an issue the place it was “splitting the batched submits into particular person ones, every submit additionally allocates a struct to comprise the submit information in order that the drivers can use the identical interface. So it’s rising the kernel overhead by performing a number of submits and in addition rising reminiscence allocations” with Blumenkrantz mentioning a number of exams that “showcase some driver ache factors”.
The result’s a pull request (not but merged) that offers a efficiency enchancment on RADV GFX11 (RDNA3) of 1000% in a single case and 50% in one other. A formidable win but it surely continues. On Lavapipe (a CPU-based Software program Vulkan driver) it noticed a 3000% enchancment in a single case and a 1000% enchancment in one other, Intel Arc (Intel DG2) one case noticed a 5000% enchancment and Turnip A740 had a 4000% enchancment and a 3000% enchancment for an additional level.
