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: Smarter Cache Flushing For AMD SEV KVM Guest VMs Expected 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 > Smarter Cache Flushing For AMD SEV KVM Guest VMs Expected For Linux 6.17
Computing

Smarter Cache Flushing For AMD SEV KVM Guest VMs Expected For Linux 6.17

News Room
Last updated: 2025/07/11 at 9:34 AM
News Room Published 11 July 2025
Share
SHARE

Going back several months have been patches out of Google to optimize AMD cache flushing for KVM-based Linux guest virtual machines when making use of Secure Encrypted Virtualization (SEV). As anticipated, that AMD SEV cache flushing optimization work looks like it will be merged for the upcoming Linux 6.17 kernel cycle.

Google engineer Sean Christopherson has been spearheading this work around the optimized cache flushing for AMD SEV guests with KVM. He explained on the patch series:

“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.”

The final patch in that series by Zheyun Shen is what goes on to only flush the cache on CPUs running the SEV guest. Zheyun Shen explains there:

“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.”

Thus a performance win by avoiding cache flushing on CPU cores not even dealing with the SEV-protected guest VM.

The news this week is that as of yesterday the prep patches from the series adding the WBINVD/WBNOINVD helpers and the like have been queued up into the tip/tip.git’s x86/core branch. Now that those necessary patches have been queued up via that TIP branch, the KVM-side patches can then be queued via its respective branch.

AMD EPYC CPU

Sean Christopherson commented yesterday that in turn he’s picked up the remainder of the patch series via the kvm-x86 code. Thus barring any last minute issues from being raised with the code, this smarter cache flushing for AMD SEV KVM guests is then expected to be merged for the upcoming Linux 6.17 kernel cycle.

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 A mysterious, ancient ’12-mile wide interstellar visitor’ is racing towards us
Next Article Having more security in your company during a whole year costs less than 6 euros per month with Kaspersky
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

FBI Seizes Sites That Offered Pirated Nintendo, PlayStation Games
News
The newest Nest Learning Thermostat is on sale for Prime Day.
News
Amazon devices deals typically end right when Prime Day does. Shop our top picks while you still can.
News
July 11, 2025 – Apple’s plans for new Macs, iPads, and more
News

You Might also Like

Computing

Annihilation vs. VBF: The Dynamic Interplay for New Physics Discovery at Muon Colliders | HackerNoon

7 Min Read
Computing

Six Orders of Magnitude: Muon Colliders’ Unrivaled Signal-to-Background | HackerNoon

7 Min Read
Computing

Yandex Releases Massive Dataset to Help AI Understand What You Really Like | HackerNoon

10 Min Read
Computing

Muon Colliders: The Era of Electroweak Gauge Boson Collisions | HackerNoon

9 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?