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’s New “hugetlb_alloc_threads” Option Can Help Speed-Up Boot Times
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’s New “hugetlb_alloc_threads” Option Can Help Speed-Up Boot Times
Computing

Linux 6.15’s New “hugetlb_alloc_threads” Option Can Help Speed-Up Boot Times

News Room
Last updated: 2025/04/03 at 12:02 PM
News Room Published 3 April 2025
Share
SHARE

Among the changes that landed this week for the Linux 6.15 merge window were all of the memory management “MM” updates, of which there are several notable patch series included.

Andrew Morton sent in all of the MM changes this week for Linux 6.15. There are a few exciting changes to find with this next version of the Linux kernel when it comes to memory management.

Memory modules in a stein

A new command-line option to control how many threads should be used to allocate huge pages. This can help “significantly” reduce boot time by tuning the parallelization of huge page initialization. This new command line option is “hugetlb_alloc_threads” and ideal if wanting to speed-up boot performance when allocating a large number of huge pages. The hugetlb_alloc_threads default is 25% of the available hardware threads. Cyberus Tech engineers found as much as a 2.75~4.3x speed-up for large servers:

hugetlb_alloc_threads

Another interesting patch series as part of this memory management churn is making the huge page allocator more reliable. Huge page allocations should be more reliable with less fragmentation while also being cheaper thanks to these patches. Johannes Weiner explained in the prior patch series on this work that goes back two years:

“As memory capacity continues to grow, 4k TLB coverage has not been able to keep up. On Meta’s 64G webservers, close to 20% of execution cycles are observed to be handling TLB misses when using 4k pages only. Huge ages are shifting from being a nice-to-have optimization for HPC workloads to becoming a necessity for common applications.

However, while trying to deploy THP more universally, we observe a fragmentation problem in the page allocator that often prevents larger requests from being met quickly, or met at all, at runtime. Since we have to provision hardware capacity for worst case performance, unreliable huge page coverage isn’t of much help.
…
In a broad sample of Meta servers, we find that unmovable allocations make up less than 7% of total memory on average, yet occupy 34% of the 2M blocks in the system. We also found that this effect isn’t correlated with high uptimes, and that servers can get heavily fragmented within the first hour of running a workload.”

Sepatately with this MM pull request, the Z3fold and Zbud allocators have been removed. Z3fold and Zbud were already deprecated and now being removed entirely from the upstream kernel.

Some of the other “MM” changes in Linux 6.15 include:

– DAMON fixes and various improvements there… Most notable among the DAMON work this cycle is adding an automatic tuning feature for DAMONs’ aggregation interval tuning by using a feedback loop.

– Batched unmap lazy-free large folios during reclamation to speed-up the unmapping of PTE-mapped large folios.

– A patch series to re-implement per-VMA locks as a refcount can yield 0~10% improvement in at least one micro-benchmark.

– HugeTLB and CMA (Continuous Memory Allocator) improvements for large systems/servers.

– ZRAM has been extended to run compression and decompression operations in a preemptible manner.

– Lazy MMU mode fixes for x86, SPARC, and POWER.

– Improves to Heterogeneous Memory Management (HMM) around various fixes for device-exclusive entries.

– Proactive memory reclaim statistics are now reported by the kernel.

More details via the MM pull that was already merged to 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 How Software Developers Can Build Their Personal Brand to Elevate Their Influence
Next Article Future Moon base could be powered by lunar DIRT, say scientists
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?