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

Zuckerberg hailed AI ‘superintelligence’. Then his smart glasses failed on stage | Matthew Cantor
News
Google Home finally has powerful automations, but I’m still not using them
News
8 Good Reasons to Switch from iPhone to Android
Software
China to release third round of trade-in subsidies for consumers in July · TechNode
Computing

You Might also Like

Computing

China to release third round of trade-in subsidies for consumers in July · TechNode

1 Min Read
Computing

Koolboks wants to be more than a freezer: Day 1-1000 of Koolboks |

8 Min Read
Computing

Social Commerce: How to Make It Work for Your Brand in 2025

2 Min Read
Computing

Top 10 AI Voice Recorders for Transcription and Content Creation

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