From: Sridhar Seshasayee Date: Mon, 10 Oct 2022 05:47:54 +0000 (+0530) Subject: common: Optimize the HDD mClock cost parameters. X-Git-Tag: v18.1.0~653^2~3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=38655922870dd9dc36a23df6e01492da6ad44e1b;p=ceph.git common: Optimize the HDD mClock cost parameters. With the earlier cost per io and cost per byte parameters, the client ops performance was good but the recovery ops were taking much longer to complete. The new cost parameters optimizes this further so that the recovery ops progress faster while maintaining similar client throughput. This optimization is tested on both a small cluster and a larger cluster in a scaled environment. Fixes: https://tracker.ceph.com/issues/57529 Signed-off-by: Sridhar Seshasayee --- diff --git a/src/common/options/osd.yaml.in b/src/common/options/osd.yaml.in index 2f11807399556..1d7fac56bd9ad 100644 --- a/src/common/options/osd.yaml.in +++ b/src/common/options/osd.yaml.in @@ -1010,7 +1010,7 @@ options: 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 + default: 11400 flags: - runtime - name: osd_mclock_cost_per_io_usec_ssd @@ -1049,7 +1049,7 @@ options: = mclock_scheduler fmt_desc: Cost per byte in microseconds to consider per OSD (for rotational media) - default: 5.2 + default: 2.6 flags: - runtime - name: osd_mclock_cost_per_byte_usec_ssd