Virgl Lands A Number Of Performance Optimizations In Mesa 19.1

Written by Michael Larabel in Virtualization on 15 February 2019 at 08:23 AM EST. 1 Comment
VIRTUALIZATION
For those using the Virgl3D driver stack for having OpenGL acceleration within KVM guest VMs with VirtIO-GPU that is then accelerated by hosts, there are performance optimizations that have just landed in the Mesa 19.1 development code.

Virgl has introduced a transfer queue along with being able to de-duplicate intersecting 1D transfers, which results in a texture upload micro-benchmark going from 64.23 mtexel/sec all the way to 367.44 mtexel/sec.

In using the queue, the Unigine Valley benchmark goes from 3 to 10 FPS and Team Fortress 2 from 6 to 13 FPS while the host was at 20 FPS.

With a change to virgl_transfer_inline_write for using it less, the performance in a GLBench micro-benchmark goes from 131 mb/s to 6828 mb/s for buffer uploads.

There were also a number of other Virgl changes that are now within Mesa 19.1 Git. These latest changes come via Google's Chrome OS team where Virgl is being used.

The performance still leaves a lot to be desired for complex workloads, but progress is being made on this fully open-source GPU acceleration stack for Linux desktop virtualization.
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