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 Cache-Aware Scheduling / Load Balancing Updated With New Tuning Knob
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 Cache-Aware Scheduling / Load Balancing Updated With New Tuning Knob
Computing

Linux Cache-Aware Scheduling / Load Balancing Updated With New Tuning Knob

News Room
Last updated: 2025/08/11 at 8:59 AM
News Room Published 11 August 2025
Share
SHARE

Intel engineer Chen Yu posted a fresh round of Linux kernel patches working on cache-aware scheduling/load-balancing for this functionality being sought after both by Intel and AMD. The new patches should address some performance regressions observed in the prior patches.

For the past number of months there have been patches floated on the Linux kernel mailing list for cache-aware load balancing that have the potential to help with performance on modern AMD and Intel processors, especially for larger server processors. The focus with the cache aware scheduling is to be able to aggregate tasks with likely shared resources into the same cache domain for better cache locality, especially on recent Intel Xeon and AMD EPYC processors.

Early benchmark results have shown promising potential with cache aware load balancing / scheduling while the v4 patches posted this weekend address some performance regressions that turned up.

Intel and AMD processors

Chen Yu explained with the new v4 patch series:

“The main change in v4 is to address the performance regressions reported in v3, which are caused by over-aggregation of tasks in a single LLC, but they don’t actually share data. Such aggregation could cause regression on platforms with smaller LLC size. It can also occur when running workloads with a large memory footprint (e.g., stream) or when workloads involve too many threads (e.g., hackbench).

Patches 1 to 20 are almost identical to those in v3; the key fixes are included in patches 21 to 28. The approach involves tracking a process’s resident pages and comparing this to the LLC cache size.”

There is also a new knob via /sys/kernel/debug/sched/sched_cache_ignore_rss for being able to turn off cache-aware scheduling or to make it more aggressive:

“To that effect, /sys/kernel/debug/sched/sched_cache_ignore_rss is added where

0 turns off cache aware scheduling entirely
1 turns off cache aware scheduling when resident memory of process
exceed LLC size (default)
100 RSS will not be taken into account during cache aware scheduling
N translates to turn off cache aware scheduling when RSS is greater than (N-1) * 256 * LLC size

So for folks who want to make cache aware scheduling to be aggressive and they know their process threads share lots of data, they could set it to 100.

Similarly, the number of active threads within each process is monitored and compared to the number of cores (excluding SMT) in each LLC.”

We’ll see how the v4 patch testing and review goes. Hopefully it won’t be too long before seeing cache aware scheduling upstreamed to the mainline Linux kernel.

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 Wikipedia can challenge Online Safety Act if strictest rules apply to it, says judge
Next Article Wikipedia’s case against Online Safety Act dismissed by High Court – UKTN
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

Bath-based cyber hardware group secures £1.5m from SWIF – UKTN
News
Overlooking IoT TCO risks millions in hidden costs | Computer Weekly
News
Eufy Omni E25 Review: A great mid-range robot vacuum and mop
Gadget
The TechBeat: Turn a Regular Wallet into a Smart Account with EIP 7702 (8/11/2025) | HackerNoon
Computing

You Might also Like

Computing

The TechBeat: Turn a Regular Wallet into a Smart Account with EIP 7702 (8/11/2025) | HackerNoon

5 Min Read
Computing

How Can I Build Anticipation and Buzz Around My Brand Launch Online?

13 Min Read
Computing

⚡ Weekly Recap: BadCam Attack, WinRAR 0-Day, EDR Killer, NVIDIA Flaws, Ransomware Attacks & More

40 Min Read
Computing

AMD EPYC 4545P Achieves 2.24x The Performance At Half The Power Of The First EPYC CPU Review

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