By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Optimized AMD SEV Cache Flushing For KVM Looked At For Linux 6.17
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Optimized AMD SEV Cache Flushing For KVM Looked At For Linux 6.17
Computing

Optimized AMD SEV Cache Flushing For KVM Looked At For Linux 6.17

News Room
Last updated: 2025/05/22 at 7:45 AM
News Room Published 22 May 2025
Share
SHARE

A patch series is baking for likely upstreaming in the Linux v6.17 kernel cycle later in the year to optimize AMD CPU cache flushing when making use of Secure Encrypted Virtualization (SEV) with KVM.

An updated patch series was posted last week to optimize AMD EPYC CPU cache flushing when making use of KVM virtualization with SEV. The patch series explains:

“This is the combination of Kevin’s WBNOINVD series with Zheyun’s targeted flushing series. The combined goal is to use WBNOINVD instead of WBINVD when doing cached maintenance to prevent data corruption due to C-bit aliasing, and to reduce the number of cache invalidations by only performing flushes on CPUs that have entered the relevant VM since the last cache flush.

Assuming I get the appropate acks (and that I didn’t manage to break anything when rebasing), my plan is to take this through the kvm-x86 tree in the 6.17 timeframe.

…

On AMD CPUs without ensuring cache consistency, each memory page reclamation in an SEV guest triggers a call to do WBNOINVD/WBINVD on all CPUs, thereby affecting the performance of other programs on the host.

Typically, an AMD server may have 128 cores or more, while the SEV guest might only utilize 8 of these cores. Meanwhile, host can use qemu-affinity to bind these 8 vCPUs to specific physical CPUs.

Therefore, keeping a record of the physical core numbers each time a vCPU runs can help avoid flushing the cache for all CPUs every time.”

THhis optimized AMD CPU cache flushing for only on CPUs running a given SEV guest should help with performance though no benchmark numbers were provided as part of this patch series for highlighting the benefits. In any event look for this patch series providing optimized AMD cache flushing for SEV to likely land later in 2025.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article This fantastic Voxi SIM plan will keep you entertained on your daily commute
Next Article Former Elon Musk employees tell BI what he brings to the table as a leader — and whether that’s what Tesla needs right now
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

The Best WordPress Web Hosting Services for 2025
News
Strava Valuation Powers Up To $2.2B As Fitness Startup Funding Falters
News
AI Is Eating Data Center Power Demand—and It’s Only Getting Worse
Gadget
In 2025, Local Music on iPhone Is a Nightmare—So I Built My Own Way Out | HackerNoon
Computing

You Might also Like

Computing

In 2025, Local Music on iPhone Is a Nightmare—So I Built My Own Way Out | HackerNoon

21 Min Read
Computing

How to Centralize Your Campaign Execution |

9 Min Read
Computing

A Simple, Transparent Model for Estimating Ethereum Transaction Speeds | HackerNoon

16 Min Read
Computing

High-Velocity Campaign Execution for Orchestrating GTM Success

15 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?