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.17 Improves NUMA Locality For SMP Call Rather Than Deferring To Random CPU Core
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.17 Improves NUMA Locality For SMP Call Rather Than Deferring To Random CPU Core
Computing

Linux 6.17 Improves NUMA Locality For SMP Call Rather Than Deferring To Random CPU Core

News Room
Last updated: 2025/07/29 at 9:22 PM
News Room Published 29 July 2025
Share
SHARE

After all of these years of Linux dominating the high performance computing (HPC) space and other industries, one might think (most) all the interesting performance nuggets have been uncovered and well thought out and robust fallbacks in place across all important code paths. As we showcase almost each cycle, interesting new performance bits to be uncovered within the Linux kernel. For Linux 6.17 thanks to a NVIDIA engineer is applying a better fallback for NUMA locality rather than simply picking a random CPU core.

Merged today for the Linux 6.17 merge window was the smp/core pull request. Of the few patches in the SMP core code this cycle, Yury Norov of NVIDIA had the most patches showing his recent focus on enhancing the Linux SMP code. In particular, one of the patches is for improving the locality of the smp_call_function_any() call to find a better secondary match rather than picking effectively a random CPU core for execution.

Yury explained with the patch:

“smp_call_function_any() tries to make a local call as it’s the cheapest option, or switches to a CPU in the same node. If it’s not possible, the algorithm gives up and searches for any CPU, in a numerical order.

Instead, it can search for the best CPU based on NUMA locality, including the 2nd nearest hop (a set of equidistant nodes), and higher.

sched_numa_find_nth_cpu() does exactly that, and also helps to drop most of the housekeeping code.”

So with a few lines of code, a better fallback rather than simply dropping to pick a random/first CPU. The smp_call_function_any() call in the Linux kernel is used to run a function on any CPU (ideally) of the given mask. Now at least it will do so with better logic.

There was no background shared as part of the patches for NVIDIA’s emphasis on improving this code, such as if there was a particular production issue/bottleneck observed or other factors.

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 chaos and confusion of itch.io and Steam’s abrupt adult game ban
Next Article If you want to write a book, this AI tool can help
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

FunkSec Ransomware Decryptor Released Free to Public After Group Goes Dormant
Computing
NFL star retires aged 27 after being expected to protect superstar quarterback
News
How to Create and Manage a Virtual Card Instantly
Gadget
iPhone Fold rumours: Everything we know so far
Gadget

You Might also Like

Computing

FunkSec Ransomware Decryptor Released Free to Public After Group Goes Dormant

3 Min Read
Computing

Report: Amazon to pay at least $20M a year in AI content deal with New York Times

3 Min Read
Computing

MediaTek Q2 revenue up 18.1% y-o-y, down 1.9% from the previous quarter · TechNode

1 Min Read
Computing

A tech women event sent this U.S immigrant on a lifetime quest

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