Repository navigation
Conversation
Set the mount monitor rate limit interval to zero instead of raising its burst allowance to thirty. Mount start jobs can then proceed without waiting for the throttle window to expire, including when more than thirty events arrive. This also disables throttling during sustained runtime mount activity.
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.
What changes
Disable systemd's mount-monitor rate limit by setting
SYSTEMD_DEFAULT_MOUNT_RATE_LIMIT_INTERVAL_SEC=0in the existing manager drop-in, replacingSYSTEMD_DEFAULT_MOUNT_RATE_LIMIT_BURST=30.Follow-up to #15182. That PR already eliminated the measured VM boot pause with a thirty-event allowance. This proposes removing the remaining ceiling so that larger bursts cannot defer mount start jobs until the one-second window expires; it does not establish an additional boot-time improvement over the current setting.
The setting applies during runtime too. Disabling the limit removes its protection against high-frequency mount processing starving other event sources. A comparison of 30 versus disabled under both boot and sustained mount churn remains necessary, especially with large mount tables. This is a draft pending that validation.
The existing
omarchy-settingspackage installs this drop-in for new and updated installations. It takes effect on the next boot.Upstream documents the interval override and specifies that a zero interval disables event rate limiting.
Verification
bash test/shell.d/systemd-test.sh: both focused checks passed.git diff --check: passed.Screenshots
No visible change: this changes a PID 1 event-processing limit and has no on-screen UI.