]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: Optimize the HDD mClock cost parameters.
authorSridhar Seshasayee <sseshasa@redhat.com>
Mon, 10 Oct 2022 05:47:54 +0000 (11:17 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Mon, 12 Dec 2022 04:54:49 +0000 (10:24 +0530)
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 <sseshasa@redhat.com>
src/common/options/osd.yaml.in

index 2f11807399556d4800d224c99330d5916a48be78..1d7fac56bd9ad952529b5a9026103788dd5fb33b 100644 (file)
@@ -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