RADV Vulkan Driver Begins Landing Optimizations For AMD Smart Access Memory

Written by Michael Larabel in Radeon on 4 January 2021 at 08:41 AM EST. 10 Comments
RADEON
Following RadeonSI seeing optimizations around AMD Smart Access Memory (Resizable BAR) support last month, the Radeon Vulkan driver "RADV" within Mesa 21.0 is also seeing similar treatment.

Linux has been seeing more work in recent weeks around Smart Access Memory / Resizable BAR support and that continued this morning with Mesa 21.0 Git seeing the initial RADV support.

MR 7979 merged today to Mesa 21.0 now makes use of vRAM for the command submission and upload buffer if all vRAM is CPU visible (SAM / resizable BR being enabled). RADV co-founder Bas Nieuwenhuizen spearheaded the patches. With the support enabled, Bas found the patches to help the Basemark Vulkan benchmark by about 3% while for Shadow of the Tomb Raider it was around 2% faster.

This functionality is enabled only for discrete GPUs with Smart Access Memory enabled and isn't enabled for APUs due to memory pressure concerns. The new code also adds a RADV debug flag of "nosam" to force-disable the functionality if wanting to compare the new code path's performance.
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