mClock Config Options
=====================
-``osd_mclock_profile``
-
-:Description: This sets the type of mclock profile to use for providing QoS
- based on operations belonging to different classes (background
- recovery, scrub, snaptrim, client op, osd subop). Once a built-in
- profile is enabled, the lower level mclock resource control
- parameters [*reservation, weight, limit*] and some Ceph
- configuration parameters are set transparently. Note that the
- above does not apply for the *custom* profile.
-
-:Type: String
-:Valid Choices: high_client_ops, high_recovery_ops, balanced, custom
-:Default: ``high_client_ops``
-
-``osd_mclock_max_capacity_iops``
-
-:Description: Max IOPS capacity (at 4KiB block size) to consider per OSD
- (overrides _ssd and _hdd if non-zero)
-
-:Type: Float
-:Default: ``0.0``
-
-``osd_mclock_max_capacity_iops_hdd``
-
-:Description: Max IOPS capacity (at 4KiB block size) to consider per OSD (for
- rotational media)
-
-:Type: Float
-:Default: ``315.0``
-
-``osd_mclock_max_capacity_iops_ssd``
-
-:Description: Max IOPS capacity (at 4KiB block size) to consider per OSD (for
- solid state media)
-
-:Type: Float
-:Default: ``21500.0``
-
-``osd_mclock_cost_per_io_usec``
-
-:Description: Cost per IO in microseconds to consider per OSD (overrides _ssd
- and _hdd if non-zero)
-
-:Type: Float
-:Default: ``0.0``
-
-``osd_mclock_cost_per_io_usec_hdd``
-
-:Description: Cost per IO in microseconds to consider per OSD (for rotational
- media)
-
-:Type: Float
-:Default: ``25000.0``
-
-``osd_mclock_cost_per_io_usec_ssd``
-
-:Description: Cost per IO in microseconds to consider per OSD (for solid state
- media)
-
-:Type: Float
-:Default: ``50.0``
-
-``osd_mclock_cost_per_byte_usec``
-
-:Description: Cost per byte in microseconds to consider per OSD (overrides _ssd
- and _hdd if non-zero)
-
-:Type: Float
-:Default: ``0.0``
-
-``osd_mclock_cost_per_byte_usec_hdd``
-
-:Description: Cost per byte in microseconds to consider per OSD (for rotational
- media)
-
-:Type: Float
-:Default: ``5.2``
-
-``osd_mclock_cost_per_byte_usec_ssd``
-
-:Description: Cost per byte in microseconds to consider per OSD (for solid state
- media)
-
-:Type: Float
-:Default: ``0.011``
-
-
+.. confval:: osd_mclock_profile
+.. confval:: osd_mclock_max_capacity_iops
+.. confval:: osd_mclock_max_capacity_iops_hdd
+.. confval:: osd_mclock_max_capacity_iops_ssd
+.. confval:: osd_mclock_cost_per_io_usec
+.. confval:: osd_mclock_cost_per_io_usec_hdd
+.. confval:: osd_mclock_cost_per_io_usec_ssd
+.. confval:: osd_mclock_cost_per_byte_usec
+.. confval:: osd_mclock_cost_per_byte_usec_hdd
+.. confval:: osd_mclock_cost_per_byte_usec_ssd
.. _OSD Config Reference: ../osd-config-ref#dmclock-qos
type: str
level: advanced
desc: name of DNS SRV record to check for monitor addresses
+ fmt_desc: the service name used querying the DNS for the monitor hosts/addresses
default: ceph-mon
tags:
- network
long_desc: This option specifies the cost factor to consider in usec per OSD. This
is considered by the mclock scheduler to set an additional cost factor in QoS
calculations. Only considered for osd_op_queue = mclock_scheduler
+ fmt_desc: Cost per IO in microseconds to consider per OSD (overrides _ssd
+ and _hdd if non-zero)
default: 0
flags:
- runtime
long_desc: This option specifies the cost factor to consider in usec per OSD for
rotational device type. This is considered by the mclock_scheduler to set an additional
cost factor in QoS calculations. Only considered for osd_op_queue = mclock_scheduler
+ fmt_desc: Cost per IO in microseconds to consider per OSD (for rotational
+ media)
default: 25000
flags:
- runtime
solid state device type. This is considered by the mclock_scheduler to set an
additional cost factor in QoS calculations. Only considered for osd_op_queue =
mclock_scheduler
+ fmt_desc: Cost per IO in microseconds to consider per OSD (for solid state
+ media)
default: 50
flags:
- runtime
long_desc: This option specifies the cost per byte to consider in microseconds per
OSD. This is considered by the mclock scheduler to set an additional cost factor
in QoS calculations. Only considered for osd_op_queue = mclock_scheduler
+ fmt_desc: Cost per byte in microseconds to consider per OSD (overrides _ssd
+ and _hdd if non-zero)
default: 0
flags:
- runtime
OSD for rotational device type. This is considered by the mclock_scheduler to
set an additional cost factor in QoS calculations. Only considered for osd_op_queue
= mclock_scheduler
+ fmt_desc: Cost per byte in microseconds to consider per OSD (for rotational
+ media)
default: 5.2
flags:
- runtime
OSD for solid state device type. This is considered by the mclock_scheduler to
set an additional cost factor in QoS calculations. Only considered for osd_op_queue
= mclock_scheduler
+ fmt_desc: Cost per byte in microseconds to consider per OSD (for solid state
+ media)
default: 0.011
flags:
- runtime
long_desc: This option specifies the max osd capacity in iops per OSD. Helps in
QoS calculations when enabling a dmclock profile. Only considered for osd_op_queue
= mclock_scheduler
+ fmt_desc: Max IOPS capacity (at 4KiB block size) to consider per OSD
+ (overrides _ssd and _hdd if non-zero)
default: 0
flags:
- runtime
long_desc: This option specifies the max OSD capacity in iops per OSD. Helps in
QoS calculations when enabling a dmclock profile. Only considered for osd_op_queue
= mclock_scheduler
+ fmt_desc: Max IOPS capacity (at 4KiB block size) to consider per OSD (for
+ rotational media)
default: 315
flags:
- runtime
long_desc: This option specifies the max OSD capacity in iops per OSD. Helps in
QoS calculations when enabling a dmclock profile. Only considered for osd_op_queue
= mclock_scheduler
+ fmt_desc: Max IOPS capacity (at 4KiB block size) to consider per OSD (for
+ solid state media)
default: 21500
flags:
- runtime
desc: Which mclock profile to use
long_desc: This option specifies the mclock profile to enable - one among the set
of built-in profiles or a custom profile. Only considered for osd_op_queue = mclock_scheduler
+ fmt_desc: |
+ This sets the type of mclock profile to use for providing QoS
+ based on operations belonging to different classes (background
+ recovery, scrub, snaptrim, client op, osd subop). Once a built-in
+ profile is enabled, the lower level mclock resource control
+ parameters [*reservation, weight, limit*] and some Ceph
+ configuration parameters are set transparently. Note that the
+ above does not apply for the *custom* profile.
default: high_client_ops
see_also:
- osd_op_queue