Skip to content

Disable mount monitor throttling - #17995

Closed
dagelf wants to merge 1 commit into
omacom:quattrofrom
dagelf:disable-mount-monitor-rate-limit
Closed

dagelf wants to merge 1 commit into
omacom:quattrofrom
dagelf:disable-mount-monitor-rate-limit

Conversation

@dagelf

@dagelf dagelf commented Nov 7, 2026

Copy link
Copy Markdown

What changes

Disable systemd's mount-monitor rate limit by setting SYSTEMD_DEFAULT_MOUNT_RATE_LIMIT_INTERVAL_SEC=0 in the existing manager drop-in, replacing SYSTEMD_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-settings package 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.
  • Runtime check against the installed libsystemd: a nonzero interval configures a rate limit; setting the interval to zero reports it unconfigured.
  • No new Omarchy VM/hardware boot comparison, ISO build, or sustained mount-churn test was run. The earlier isolated-fixture result with the upstream five-event default does not establish a benefit over Omarchy's thirty-event setting.

Screenshots

No visible change: this changes a PID 1 event-processing limit and has no on-screen UI.

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.
@dagelf dagelf closed this Nov 7, 2026
@dagelf
dagelf deleted the disable-mount-monitor-rate-limit branch November 7, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant