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
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 $69.97
Next Article 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

All-round iPhone 17 protection from ESR | Stuff
Gadget
If you can only back up 5 things, make it these
News
These 8 keyboard shortcuts are disastrous to hit by mistake
Computing
6 Surprising Things You Can Do With Your Amazon Fire Stick’s USB Port
News

You Might also Like

Computing

These 8 keyboard shortcuts are disastrous to hit by mistake

11 Min Read
Computing

How Leke Ariyo landed a site reliability role at a global bank

12 Min Read
Computing

How to Find Content for Your Social Strategy with

6 Min Read
Computing

10 Best AI Tools for Time Management in 2025 |

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