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: Linux 6.15 Fix Merged For Sizable Performance Regression On Newer AMD CPUs
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 > Linux 6.15 Fix Merged For Sizable Performance Regression On Newer AMD CPUs
Computing

Linux 6.15 Fix Merged For Sizable Performance Regression On Newer AMD CPUs

News Room
Last updated: 2025/05/11 at 5:27 PM
News Room Published 11 May 2025
Share
SHARE

At the end of April I reported on a significant performance regression affecting newer AMD CPUs and was bisected to a change in the AMD SRSO mitigation handling for Zen 4/5 processors with the Linux 6.15 kernel. The fix for that significant performance regression was merged today ahead of the imminent Linux 6.15-rc6 release.

After spotting a sizable performance regression earlier in April, this AMD performance regression affecting newer AMD processors ended up being quite significant. Simply if the KVM kernel module for virtualization support was loaded but unused for running any virtual machines (VMs), some costly mitigations ended up being applied that weren’t needed. The involved performance costs ended up being more significant than the upstream kernel developers from AMD and Google realized at the time.

There was a patch posted in early May to address this regression while now for Linux 6.15-rc6 there is a good enough solution that’s been merged.

Linux 6.15 AMD performance issue

Merged today via the KVM fixes for Linux 6.15 was KVM: SVM: Set/clear SRSO’s BP_SPEC_REDUCE on 0 <=> 1 VM count transitions.

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 spinlock 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 sensitive to VM creation latency.

Defer setting BP_SPEC_REDUCE until VMRUN is imminent to avoid impacting performance on CPUs that aren’t running VMs, e.g. if a setup is using housekeeping CPUs. Setting BP_SPEC_REDUCE in task context, i.e. without blasting IPIs to all CPUs, also helps avoid serializing 1<=>N transitions without incurring a gross amount of complexity (see the Link for details on how ugly coordinating via IPIs gets).

Link: https://lore.kernel.org/all/[email protected]
Fixes: 8442df2b49ed (“x86/bugs: KVM: Add support for SRSO_MSR_FIX”)
Reported-by: Michael Larabel
Closes: https://www..com/review/linux-615-amd-regression

Thus now Linux 6.15 out-of-the-box without running any KVM VMs will no longer tank the system performance… If running with virtual machines on your system you will have the performance hit there due to the security enforcement, but at least simply booting the Linux kernel and not caring about any VMs will no longer cause the big performance penalty observed earlier on Linux 6.15 Git.

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 List reveals which subscription-based apps subscribers want to stop paying for
Next Article Dementia cases are skyrocketing in China and no one knows why
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

Moldovan Police Arrest Suspect in €4.5M Ransomware Attack on Dutch Research Agency
Computing
U.S. and China agree to a temporary trade deal – but tariffs are still higher than what they were before Trump
News
NAK Compiler For Mesa’s NVK Driver Adds Support For More NVIDIA Kepler GPUs
Computing
macOS 16 to enable clipboard privacy protection – 9to5Mac
News

You Might also Like

Computing

Moldovan Police Arrest Suspect in €4.5M Ransomware Attack on Dutch Research Agency

2 Min Read
Computing

NAK Compiler For Mesa’s NVK Driver Adds Support For More NVIDIA Kepler GPUs

1 Min Read
Computing

THE FUN CONTINUES AFTER DARK AT BEYOND EXPO 2025: YOUR ULTIMATE PARTY GUIDE · TechNode

4 Min Read
Computing

7 Social Media Monetization Options For Creators in 2025

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