Repository navigation
Avoid mount-event throttling during boot - #15182
Merged
Merged
Conversation
dhh
marked this pull request as ready for review
October 12, 2026 15:11
Contributor
|
Base automatically changed from
perf/binfmt-mount-before-registration
to
quattro
October 13, 2026 00:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacks on #15175. Keep both PRs unmerged.
Systemd's default mount-monitor limit (five notifications per second) defers new mount jobs when a boot burst exceeds it. Debug journals show the local-filesystem mounts waiting for that one-second window to expire even after the binfmt change. Raise the allowance to thirty while keeping the one-second rate-limit interval.
Ten boots per configuration using
omarchy-iso/test/vm-image/vm-bootand the verified 2026.10.12.442 edge image:All boots reached
running, with no failed units and all 31 QEMU binary formats registered. Ten events retained the pause; twenty still paused in one of ten boots. Thirty gives more headroom without the runtime cost of the fifty-event setting also tested. These are VM userspace measurements, not hardware or initrd claims.There is a runtime tradeoff. Under synthetic sustained churn (1,000 mount/unmount operations), PID1 CPU usage increased from 3.5% to 5.5% of one core with 31 existing mounts, and from roughly 5.3% to 15.5% with 1,031 mounts.
systemctlremained responsive and every stress run finished healthy. The setting applies after boot too.The upstream mount implementation exposes this tuning variable. It has a weaker stability guarantee than system.conf options; recheck it on systemd upgrades. The settings package already ships
etc/to new and updated installations; the setting takes effect on the next boot.Claude reviewed the final configuration and its binfmt dependency with no remaining code defects. Focused systemd tests passed. A fresh ISO built with
omarchy-iso-make --local-sourcepassed unattended installation and boot integration tests. All three settings files were installed root-owned with mode 644, both binfmt units were active, all 31 QEMU formats were registered, and an ARM64 Alpine Docker container ran successfully. The interactiveomarchy-iso-test --encrypt --install-onlyflow also installed, unlocked LUKS, and reachedrunningwith no failed units. Hardware measurements remain follow-up validation before adoption.Combined VM validation with #15163, #15167, and #15181 also passed: focused tests, shell restart, IPC health, and the Apps menu with icons rendered correctly.