VOOZH about

URL: https://www.phoronix.com/news/AMD-SEV-Optimized-Cache-Flush

⇱ Optimized AMD SEV Cache Flushing Patches Posted For Linux - Phoronix


👁 Phoronix

Optimized AMD SEV Cache Flushing Patches Posted For Linux

Written by Michael Larabel in AMD on 3 March 2025 at 06:06 AM EST. Add A Comment
The newest upstream-focused work around AMD SEV for Secure Encrypted Virtualization with EPYC server processors is a set of patches to better optimize cache flushing.

Sean Christopherson of Google sent out the set of patches last week that use the WBNOINVD instruction rather than WBINVD for better cache maintenance efficiency within the context of SEV. Additionally there are some cache flushing optimizations for flushing the cache only on CPUs running the SEV guest(s).

These build off patches posted by Google engineer Kevin Loughlin and Chinese engineer Zheyun Shen. No performance numbers were provided as part of this patch series, but any help to further optimize cache flushing tends to be useful and of measurable impact for helping with Linux VM performance.

👁 AMD EPYC server


Those interested in this latest cache flushing optimization work for AMD SEV can find the patches under review on the the kernel mailing list.

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.