Mesa OpenGL Threading Now Disabled For Small Hybrid CPUs

Written by Michael Larabel in Mesa on 14 April 2023 at 09:00 AM EDT. 19 Comments
MESA
Landing today in Mesa 23.2-devel is support for big.LITTLE CPU detection or more broadly hybrid CPU core detection where little cores (e.g. E cores) are defined as having less than 50% the capacity of the largest CPU core on the system. This is done since Mesa's OpenGL threading is now being disabled for small hybrid processors.

Mesa has the hybrid/big.LITTLE CPU detection added now with the initial user of this code being for determining if OpenGL threading "glthread" should be disabled for small systems.

For low core count systems or systems with not enough large/performance cores, OpenGL threading ends up hurting performance more than it helps. The new logic in Mesa is disabling OpenGL threading by default if there are fewer than four big CPU cores.


Zink lead developer Mike Blumenkrantz with Valve's Linux graphics driver team commented that with OpenGL threading and using Zink, there was around an approximate 50% performance loss for his unspecified hardware. See this MR for the change that is now part of Mesa 23.2.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week