Project

General

Profile

Actions

Bug #55153

closed

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

Added by Sridhar Seshasayee about 2 years ago. Updated over 1 year 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 1 (0 open1 closed)

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

Updated by Sridhar Seshasayee about 2 years ago

  • Description updated (diff)
Actions #2

Updated by Sridhar Seshasayee about 2 years ago

  • Description updated (diff)
Actions #3

Updated by Sridhar Seshasayee almost 2 years ago

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

Updated by Sridhar Seshasayee almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #6

Updated by Backport Bot almost 2 years ago

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

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #8

Updated by Sridhar Seshasayee over 1 year ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF