From: Sridhar Seshasayee Date: Mon, 10 Oct 2022 05:47:54 +0000 (+0530) Subject: common: Optimize the HDD mClock cost parameters. X-Git-Tag: v17.2.6~276^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=059bf435e85dc956049bef96b8313161246395c3;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 (cherry picked from commit 38655922870dd9dc36a23df6e01492da6ad44e1b) --- diff --git a/src/common/options/osd.yaml.in b/src/common/options/osd.yaml.in index 0911392fddcb..926c4bee6505 100644 --- a/src/common/options/osd.yaml.in +++ b/src/common/options/osd.yaml.in @@ -973,7 +973,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 @@ -1012,7 +1012,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