Project

General

Profile

Bug #55153

Make the mClock config options related to [res, wgt, lim] modifiable during runtime for 'custom' mclock profile.

Added by Sridhar Seshasayee 10 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
OSD
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The individual config parameters related to reservation
weight and limit are not modifiable during runtime when
a built-in profile is active.

But when the 'custom' profile is active, it must be
possible for an user to modify the above parameters using
the "config set" and other commands during runtime.

This is related to the issue reported in the ceph-user
community:

https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/KBCSQWMWTQOH3TZ65R4PIXVNRYGNP77D/

This will require changes in the mClockScheduler and may
be in the Ceph config subsystem.

Workaround

Until a fix is available, the following workaround may be used
to override the parameters:

1. Run the injectargs command as shown in the following example
to override the mclock settings.

$ ceph tell osd.0 injectargs '--osd_mclock_scheduler_background_recovery_res=10'

OR

2. Another alternative command you could use is:

$ ceph daemon osd.0 config set osd_mclock_scheduler_background_recovery_res 10

3. The above settings are ephemeral and are lost in case the
OSD restarts. To ensure that the above values are retained
after an OSD restarts, run the following additional command,

$ ceph config set osd.0 osd_mclock_scheduler_background_recovery_res 10

The above steps must be followed for any subsequent change to
the mclock config parameters when using the 'custom' profile.


Related issues

Copied to RADOS - Backport #56498: quincy: Make the mClock config options related to [res, wgt, lim] modifiable during runtime for 'custom' mclock profile. Resolved

History

#1 Updated by Sridhar Seshasayee 10 months ago

  • Description updated (diff)

#2 Updated by Sridhar Seshasayee 10 months ago

  • Description updated (diff)

#3 Updated by Sridhar Seshasayee 8 months ago

  • Status changed from New to Fix Under Review
  • Backport set to quincy
  • Pull request ID set to 46700

#5 Updated by Sridhar Seshasayee 7 months ago

  • Status changed from Fix Under Review to Pending Backport

#6 Updated by Backport Bot 7 months ago

  • Copied to Backport #56498: quincy: Make the mClock config options related to [res, wgt, lim] modifiable during runtime for 'custom' mclock profile. added

#7 Updated by Backport Bot 6 months ago

  • Tags set to backport_processed

#8 Updated by Sridhar Seshasayee 6 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF