VOOZH about

URL: https://www.phoronix.com/news/PanVK-On-Disk-Shader-Cache

⇱ PanVK Mali Vulkan Driver Lands In-Memory Cache & On-Disk Shader Cache Support - Phoronix


👁 Phoronix

PanVK Mali Vulkan Driver Lands In-Memory Cache & On-Disk Shader Cache Support

Written by Michael Larabel in Mesa on 27 October 2025 at 06:16 AM EDT. Add A Comment
The PanVK driver for modern Arm Mali Vulkan driver support within Mesa has tapped into Mesa's on-disk shader cache functionality as well as an in-memory cache to provide for a better experience with this open-source driver.

Faith Ekstrand of Collabora implemented the in-memory cache and on-disk shader cache support last week for this Arm Vulkan driver. Thanks to building off existing Mesa shared functionality, it was just a few dozen lines of code to implement and provides some immediate wins thanks to this caching.

👁 PanVK shader cache merged


Ekstrand commented on the benefits within the merge request:
"This little MR adds a memory cache to help cache lazy apps and avoid doing too much re-compilation as well as enabling Mesa's disk cache for panvk. Hopefully this reduces app stuttering as well as CTS run times. It cuts half an hour off the CTS run time on my Mediatek v13 Chromebook. (From about 2:30 to 2:00.)"

This PanVK caching support is merged for Mesa 26.0 due out in mid-Q1.

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.