From 38655922870dd9dc36a23df6e01492da6ad44e1b Mon Sep 17 00:00:00 2001 From: Sridhar Seshasayee Date: Mon, 10 Oct 2022 11:17:54 +0530 Subject: [PATCH] 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 --- src/common/options/osd.yaml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5