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: AMD Preferred Core Support For Linux Revised To Better Handle Dynamic Rankings
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 > AMD Preferred Core Support For Linux Revised To Better Handle Dynamic Rankings
Computing

AMD Preferred Core Support For Linux Revised To Better Handle Dynamic Rankings

News Room
Last updated: 2025/04/09 at 12:43 PM
News Room Published 9 April 2025
Share
SHARE

Merged back in Linux 6.9 was AMD Preferred Core support for Linux for the concept of “preferred cores” with newer Zen processors that are communicated via ACPI CPPC for select cores able to reach a higher maximum frequency or should otherwise be preferred over other cores on the system in the name of maximizing performance. That was a nice step forward for better handling newer Ryzen processors on Linux and matching functionality that had already been working under Microsoft Windows. Of focus more recently has been working on enabling more dynamic Preferred Core support for where the priority of the preferred cores may change at run-time.

Coming into focus since that original AMD Preferred Core merge has been working out dynamic rankings for a subset of AMD processors that may change their preference at run-time around higher frequency parts or also in the case of Ryzen X3D processors where a subset of the cores may have access to a larger cache. After issues with previous Linux patches for these dynamic rankings were foiled, a new attempt was posted today.

AMD Ryzen boxes

Patches sent out today implement a new approach for updating the asymmetric CPU core preference dynamically on ranking changes and without having to rebuild the scheduler domain hierarchy.

AMD engineer K Prateek Nayak explained with today’s patch series:

“A subset of AMD Processors which support Preferred Core rankings can have these rankings change at runtime to bias the load balancing towards CPUs with higher frequency / larger cache.

In the current implementation, the CPU with the highest asym priority – “asym_prefer_cpu” is cached in the sched_group struct when building the sched domain hierarchy.

Previous approach to uncache the “asym_prefer_cpu” and compute it during load balancing was not popular as it not only lost the benefits of caching but also added more overhead in update_sg_lb_stats().

At OSPM’25, Vincent suggested retaining “asym_prefer_cpu” but updating it dynamically when the asym priority changes without needing to rebuild the entire sched domain hierarchy.

Introduce sched_update_asym_prefer_cpu() which traverses the local hierarchy on priority change and recomputes the “asym_prefer_cpu”. Since sched_group for !SD_OVERLAP domains are shared by all the CPUs in sched_group_span(sg) (see get_group() in kernel/sched/topology.c), updating the “asym_prefer_cpu” in the groups of the local hierarchy ensures all the CPUs in the group see the updated value.”

We’ll see if all the upstream Linux kernel developers are in agreement on this new approach and how quickly this code could be buttoned up for reaching an upcoming Linux merge window for this dynamic AMD Preferred Core rankings support.

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 The AI Agent Era Requires a New Kind of Game Theory
Next Article Buy or Wait Guide: How Tariffs Will Change Tech Prices and What to Do Now, According to Experts
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

Millions of passwords and payment details to vanish in WEEKS on popular app
News
Nothing Headphone 1
Gadget
Douyin reveals algorithm amid government push · TechNode
Computing
Threads Gets Direct Messages
News

You Might also Like

Computing

Douyin reveals algorithm amid government push · TechNode

4 Min Read
Computing

Redefining IoT Threat Detection: The Power of Cumulative Analysis in the CUMAD Framework | HackerNoon

13 Min Read
Computing

Zhipu AI launches free AI agent as China’s tech race heats up · TechNode

1 Min Read
Computing

Faster, More Accurate IoT Security: A Quantitative Analysis of the CUMAD Framework | HackerNoon

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