Skip to content

Commit

Permalink
doc: Update mClock QOS documentation to discard osd_mclock_cost_per_*
Browse files Browse the repository at this point in the history
The cost parameters (osd_mclock_cost_per_*) have been removed.
The cost of an operation is now determined using the random IOPS
and maximum sequential bandwidth capability of the OSD's underlying device.

Fixes: https://tracker.ceph.com/issues/58529
Signed-off-by: tanchangzhi <544463199@qq.com>
  • Loading branch information
NUABO committed Oct 17, 2023
1 parent 28cb4d1 commit a7502cb
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions doc/dev/osd_internals/mclock_wpq_cmp_study.rst
Expand Up @@ -114,29 +114,6 @@ baseline throughput for each device type was determined:
256 KiB. For HDDs, it was 40MiB. The above throughput was obtained
by running 4 KiB random writes at a queue depth of 64 for 300 secs.

Factoring I/O Cost in mClock
============================

The services using mClock have a cost associated with them. The cost can be
different for each service type. The mClock scheduler factors in the cost
during calculations for parameters like *reservation*, *weight* and *limit*.
The calculations determine when the next op for the service type can be
dequeued from the operation queue. In general, the higher the cost, the longer
an op remains in the operation queue.

A cost modeling study was performed to determine the cost per I/O and the cost
per byte for SSD and HDD device types. The following cost specific options are
used under the hood by mClock,

- :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`

See :doc:`/rados/configuration/mclock-config-ref` for more details.

MClock Profile Allocations
==========================

Expand Down

0 comments on commit a7502cb

Please sign in to comment.