Mesa's Virgl Straps On A Simple Disk Cache

Written by Michael Larabel in Mesa on 14 April 2021 at 05:51 AM EDT. 4 Comments
MESA
The "Virgl" virtual 3D GPU project for providing OpenGL (and work-in-progress VirtIO-GPU Vulkan) acceleration within guest virtual machines continues to mature for improving the open-source Linux desktop virtualization stack.

The latest Virgl addition worth mentioning on the Mesa side is the introduction of a simple disk cache. Stéphane Marchesin of Google has created a simple front-end disk cache for Virgl.

With Virgl relying upon the host's native OpenGL drivers, this is just a front-end disk cache. However, even with just caching to disk the uncompiled shaders, it's still a performance win. It's useful enough that Marchesin found during testing with using a Portal 2 APITrace the performance jumped from 100 FPS to 129 FPS.

This Virgl disk cache was merged today for Mesa 21.1.
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