TECHNOLOGY

Why a Ceph recovery limit changes back under mClock

In this article
THE QUICK TAKE

Separate requested settings, effective daemon values and scheduler behavior before attributing a recovery change to a limit.

The limit that did not stay changed

A storage operator lowers backfill concurrency during a model deployment. The configuration request succeeds, yet the daemon later shows the previous value and client latency remains unstable. Repeating the request is not evidence of an ineffective storage device. The first question is whether the active scheduler owns that setting and replaces the requested value.

Ceph’s mClock reference documents recovery and backfill options that are overridden by mClock defaults. Modifying those defaults requires the explicit recovery-settings override gate. This behavior makes command acceptance and effective configuration different observations.

Identify which controller owns the value

Record the OSD release, selected operation queue, mClock profile and actual daemon configuration. Built-in profiles also calculate reservation, weight and limit values for client, recovery and background best-effort classes. Their low-level QoS parameters cannot be changed independently while the profile remains in control.

Do not treat a recovery concurrency setting as the same control as a class reservation. The OSD configuration reference describes the surrounding recovery machinery, while mClock decides how eligible operations compete. A configured ceiling does not promise that enough work, devices or bandwidth exist to reach it.

Capture effective configuration over time

Keep the requested value, configuration source and timestamp, then read the running daemon’s effective value after the scheduler has applied its policy. Preserve warnings reporting a reset. Inspect all affected OSDs rather than assuming a cluster-wide request produced identical runtime state.

Temporary daemon overrides have their own precedence and can disappear on restart. Record these separately from the central configuration database. A comparison spanning a restart must establish which settings survived before interpreting the performance trace.

Compare the same recovery work

Use an isolated maintenance exercise with an explicit rollback plan. Keep object population, affected placement groups, storage device class and foreground request distribution comparable. Observe recovery progress alongside client completion latency and errors, rather than only instantaneous throughput.

Changing profile, concurrency and sleep values together destroys attribution. The mClock documentation states that recovery and related sleep options are disabled while an mClock profile is active. A sleep-setting change therefore cannot be presumed to explain a difference without verifying the actual scheduler path.

Evidence for accepting the change

Acceptance requires a persistent effective setting on the intended daemons, recovery making progress and foreground work meeting its stated service objective during the observation window. Preserve both the configuration evidence and the workload boundaries so that another operator can distinguish a policy change from a quieter cluster.

The broader storage placement discussion explains why faster media alone does not settle startup behavior. Checkpoint failure domains also matter when slower recovery extends exposure to another failure.

Limits of the conclusion

A controlled result applies to the observed scheduler, release and recovery shape. It does not certify every erasure-coded workload or guarantee isolation under all internal high-priority traffic. The mClock reference documents scheduler caveats that must be checked for the deployed version. Restoring the intended profile and recording the final effective configuration closes the exercise; a successful write to the configuration database does not.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles