22 Patches From AMD Further Along Mesa's Workstation Performance
AMD Mesa developers have worked out many SPECViewPerf optimizations over the past two years with RadeonSI proving itself capable for workstation workloads -- an area where traditionally AMD's longstanding proprietary OpenGL driver was deemed necessary. They've landed big optimizations and CPU overhead reductions across multiple rounds of patches.
Even as of this past March the open-source Mesa driver was already beating the proprietary driver and since then more optimizations have landed. This week's optimization work is not specific to the RadeonSI driver but rather common Mesa code. Marek worked out optimizing the Mesa VAO state management. He was focusing on simplifying the glDraw* path without state changes or with only VBO state changes. In turn these common Mesa changes are yielding around a 7.5% boost to the performance for SPECViewPerf 2020's Catia test.
A 7.5% boost for a SPECViewPerf test beyond what's already been achieved over the past few years with Mesa for OpenGL workstation performance is a nice improvement for the holidays. See this merge request for all of the details with this few hundred lines of code rework now in the Mesa 23.0 codebase.