From: Sridhar Seshasayee Date: Thu, 4 Mar 2021 11:38:58 +0000 (+0530) Subject: osd: Add config options for cost per io & byte for the mclock scheduler X-Git-Tag: v16.2.0~90^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=54a3b51bf0101715853186e1bbeda57f6f371c96;p=ceph.git osd: Add config options for cost per io & byte for the mclock scheduler The cost per io and cost per byte options for hdd and ssd are specified and set to default values determined using experiments on hdds and ssds using a cost model. The values are used in calc_scaled_cost() to determine the scaled cost for every OpSchedulerItem that is enqueued within the mClockScheduler. Signed-off-by: Sridhar Seshasayee (cherry picked from commit 2da091229bd3a9c4d81fecacb60b918a614aeb84) --- diff --git a/src/common/options.cc b/src/common/options.cc index e67e202f762..cd939f92411 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3043,22 +3043,40 @@ std::vector