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.18 Will Fix Lockups When Systemd Units Read Lots Of Files
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.18 Will Fix Lockups When Systemd Units Read Lots Of Files
Computing

Linux 6.18 Will Fix Lockups When Systemd Units Read Lots Of Files

News Room
Last updated: 2025/09/27 at 6:47 AM
News Room Published 27 September 2025
Share
Linux 6.18 Will Fix Lockups When Systemd Units Read Lots Of Files
SHARE

Linux engineer at Microsoft Christian Brauner sent out his set of 12 pull requests touching the VFS portion of the Linux kernel. These changes for the Linux 6.18 kernel include one pull request that touches the writeback code to address a situation of lockups being reported by users when systemd units read lots of files.

The problem at hand with these lockups will manifest when a systemd unit reads lots of files from a file-system mounted with the “lazytime” mount option. Lazytime being the option for only initially updating the access/modify/creation time on the in-memory version of the file inode to help with performance and reduce writes to disk. The on-disk timestamps are then updated during fsync and similar operations or when evicted from memory, among other possibilities.

Linux developers found that for systemd units reading many files with the lazytime mount option, there can reach “hundreds of thousands or millions” dirty inodes on cgroup exit to the parent cgroup. In turn the system can be hit for hours with 100% CPU usage

Linux 100% CPU usage

The pull request elaborates on the problem:

“This contains work adressing lockups reported by users when a systemd unit reading lots of files from a filesystem mounted with the lazytime mount option exits.

With the lazytime mount option enabled we can be switching many dirty inodes on cgroup exit to the parent cgroup. The numbers observed in practice when systemd slice of a large cron job exits can easily reach hundreds of thousands or millions.

The logic in inode_do_switch_wbs() which sorts the inode into appropriate place in b_dirty list of the target wb however has linear complexity in the number of dirty inodes thus overall time complexity of switching all the inodes is quadratic leading to workers being pegged for hours consuming 100% of the CPU and switching inodes to the parent wb.”

The pull request also has a small sample script for demonstrating the issue on existing Linux kernel releases.

This issue should be addressed once these patches are merged for the upcoming Linux 6.18 merge window.

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 Lifetime license to Microsoft Office for Mac is now just .97 Lifetime license to Microsoft Office for Mac is now just $69.97
Next Article The Best Indie Games We’ve Played for 2025 The Best Indie Games We’ve Played for 2025
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

Ant International open sources AI forecasting model
Ant International open sources AI forecasting model
Computing
November Nights Are Dazzling With These 3 Meteor Showers. How to Watch Like a Pro
November Nights Are Dazzling With These 3 Meteor Showers. How to Watch Like a Pro
News
15 REI holiday deals for  or less — take up to 51% off outdoor gear and apparel
15 REI holiday deals for $15 or less — take up to 51% off outdoor gear and apparel
News
Here, There, Early Exciting Black Friday Deals Everywhere: This Powerful Portable Monitor Is 29% Off
Here, There, Early Exciting Black Friday Deals Everywhere: This Powerful Portable Monitor Is 29% Off
News

You Might also Like

Ant International open sources AI forecasting model
Computing

Ant International open sources AI forecasting model

2 Min Read
Mr. Beast’s Crypto Banking Move Positions Pepeto Exchange as 2026’s Anti-Manipulation Standard | HackerNoon
Computing

Mr. Beast’s Crypto Banking Move Positions Pepeto Exchange as 2026’s Anti-Manipulation Standard | HackerNoon

0 Min Read
Andrew Tate’s Bitcoin Exposed: The Real 2026 Play for the next 100x crypto | HackerNoon
Computing

Andrew Tate’s Bitcoin Exposed: The Real 2026 Play for the next 100x crypto | HackerNoon

0 Min Read
Tapbit Celebrates 4th Anniversary with Global Events, Zero-Fee Trading, And  Million Rewards | HackerNoon
Computing

Tapbit Celebrates 4th Anniversary with Global Events, Zero-Fee Trading, And $1 Million Rewards | HackerNoon

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