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: Patch Posted For Addressing The AMD CPU Performance Regression On Linux 6.15
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 > Patch Posted For Addressing The AMD CPU Performance Regression On Linux 6.15
Computing

Patch Posted For Addressing The AMD CPU Performance Regression On Linux 6.15

News Room
Last updated: 2025/05/01 at 9:08 AM
News Room Published 1 May 2025
Share
SHARE

As a follow-up to the Phoronix article a few days ago entitled A Linux 6.15 Performance Regression Hits Modern AMD CPUs, there continues to be activity to address this issue with the performance impact catching the upstream kernel developers off guard. I’ve tested a patch now that does address the issue while still carrying the KVM protections desired.

As outlined in that earlier article after noting the Linux 6.15 regression and bisecting the issue, the change comes down to how an AMD SRSO security mitigation is applied for KVM. With Linux 6.15 the mitigation is applied simply if the KVM module is loaded on the system but not even running any virtual machines (VMs) where it’s needed for the guest/host boundary protections. So there ends up being a performance hit that is more significant than the developers anticipated when it really isn’t even needed without any virtual machines active.

Linux 6.15 performance regression

AMD and Google engineers have been working on the SRSO mitigation handling and in coming up with a solution to address this performance hit. Google’s Sean Christopherson commented yesterday:

“Eww. That’s quite painful, and completely disallowing enable_virt_on_load is undesirable, e.g. for use cases where the host is (almost) exclusively running VMs.

Best idea I have is to throw in the towel on getting fancy, and just maintain a dedicated count in SVM.

Alternatively, we could plumb an arch hook into kvm_create_vm() and kvm_destroy_vm() that’s called when KVM adds/deletes a VM from vm_list, and key off vm_list being empty. But that adds a lot of boilerplate just to avoid a mutex+count.
…
Set the magic BP_SPEC_REDUCE bit to mitigate SRSO when running VMs if and only if KVM has at least one active VM. Leaving the bit set at all times unfortunately degrades performance by a wee bit more than expected.

Use a dedicated mutex and counter instead of hooking virtualization enablement, as changing the behavior of kvm.enable_virt_at_load based on SRSO_BP_SPEC_REDUCE is painful, and has its own drawbacks, e.g. could result in performance issues for flows that are sensity to VM creation latency.”

I’ve tested the patch on an affected AMD system and indeed the bare metal AMD Linux 6.15 performance when no VMs are running is back to where it was on Linux 6.14 and prior… So hopefully this patch or some incarnation of it ends up being merged to Linux 6.15 upstream in the days ahead for addressing this performance issue.

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 Cultivating a Culture of Resilience in Software Organizations
Next Article Microsoft is raising prices on Xbox consoles, controllers, and games worldwide
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

Numbers Don’t Lie But They Can Quietly Kill Your Startup Pitch | HackerNoon
Computing
Restaurant fills DR gap with all-flash Pure and dodges higher cloud cost | Computer Weekly
News
Transparent specs at last: Why the new smartphone energy labels are a big deal
News
China-Thailand visa-free travel began on March 1 · TechNode
Computing

You Might also Like

Computing

Numbers Don’t Lie But They Can Quietly Kill Your Startup Pitch | HackerNoon

9 Min Read
Computing

China-Thailand visa-free travel began on March 1 · TechNode

1 Min Read
Computing

Details of Huawei, Xiaomi, Geely new EVs leaked on China gov site · TechNode

5 Min Read
Computing

Air China announces purchase of 100 C919 aircraft for $10.8 billion · TechNode

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