Marek Further Improves Radeon Mesa Performance

Written by Michael Larabel in Radeon on 12 December 2012 at 06:13 AM EST. 35 Comments
RADEON
With a patch sent to the Mesa development list on Monday, Marek Olšák has made another significant performance improvement to the commonly used R600 Gallium3D driver for AMD Radeon graphics cards.

Marek Olšák, the independent contributor to the AMD Radeon Gallium3D driver stack that has achieved feats from R300g HyperZ support to various performance optimizations, has achieved some additional performance gains out of this open-source Linux graphics driver.

The patch being talked about today is r600g: use u_upload_mgr for allocating staging transfer buffers. The patch, which weighs in at just a couple of lines of code, is described as "u_upload_mgr suballocates memory from a large buffer and maps the allocated range (unsychronized), which is perfect for short-lived staging buffers. This reduces the number of relocations sent to the kernel."

By using this sub-allocator to reduce the number of buffers being allocated and synchronized to the video RAM, there's a performance win for some scenarios. Aaron Watry, a Phoronix reader and frequent Phoronix Forums contributor, has already benchmarked the impact of this single Mesa R600g patch.

In 1212102-SU-SUBALLOCT33 you can find his benchmark result for a Radeon HD 6850 graphics card while running Reaction Quake 3 with and without this sub-allocator patch. For this configuration, a 27% boost in the OpenGL frame-rate was witnessed.

This recent work plus the a-sync DMA engine support that came out of AMD this week is quite exciting for seeing some open-source AMD Radeon Linux graphics performance improvements on the horizon.
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