.. index:: mclock; configuration
+.. warning:: On large clusters with erasure-coded pools, operators may
+ observe slow ops during recovery or backfill (for example, when an
+ OSD is drained out). Under mClock, EC sub-operation reads issued
+ during recovery are currently routed through the ``immediate``
+ high-priority queue and bypass mClock throttling. When many OSDs
+ read concurrently from a single source OSD, this can saturate that
+ OSD's high-priority queue and starve client and background work.
+ As an interim measure, such deployments are advised to switch to
+ the ``WeightedPriorityQueue`` (``wpq``) scheduler. The change can
+ be applied cluster-wide and takes effect after each OSD is
+ restarted:
+
+ .. prompt:: bash #
+
+ ceph config set osd osd_op_queue wpq
+
QoS support in Ceph is implemented using a queuing scheduler based on `the
dmClock algorithm`_. See :ref:`dmclock-qos` section for more details.