RadeonSI Lands Zen CCX/Thread Optimization For GLThread Mode

Written by Michael Larabel in Radeon on 21 November 2018 at 04:48 AM EST. 2 Comments
RADEON
After the AMD Zen tuning for RadeonSI was dropped earlier this month, a revised implementation has now landed in Mesa 19.0-devel.

The revised patch that was merged overnight pins driver threads to a fixed core complex (CCX) when glthread is enabled. Glthread is the tunable for enabling OpenGL threading and can be done on a per-game basis with whitelisting that is handled by the DRI configuration file. The current list of whitelisted games can be seen here for where this glthread behavior is enabled by default.

That patch explains that the RadeonSI Gallium3D driver's three threads -- glthread, Gallium, and Winsys -- will be pinned to a random CCX. The belief is this should be the optimal approach for getting the best gaming performance on AMD Ryzen processors.

Separately, there was other glthread work merged. The immediate mode is now enabled and then Talos Principle was whitelisted. With a Radeon RX Vega 56, enabling glthread for this game led to about a 4% increase in frame-rates.
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