]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Ignore osd bench results for mclock if it exceeds the set threshold
authorSridhar Seshasayee <sseshasa@redhat.com>
Fri, 23 Sep 2022 11:36:38 +0000 (17:06 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Wed, 14 Dec 2022 19:11:53 +0000 (00:41 +0530)
commitc304015f84e33ad51984d0b9acffe31d37f5b8ec
tree2764ea2c9e2a69b08b87d9111d0e140c59943b06
parent81c0ca6cdc623278f64efd1daf65887d57ece621
osd: Ignore osd bench results for mclock if it exceeds the set threshold

The osd bench may in some cases show unrealistic results. The IOPS capacity
reported is used for QoS specific calculations in the mClock scheduler. If
the IOPS capacity is unrealistic, it could result is a performance impact
to the ops handled by mClock scheduler.

To avoid this, do not consider the results of the osd bench if it breaches
a threshold set for hdd and ssd media. The existing default setting will
be enforced as a safety measure. A cluster log warning is raised for the
osd.

Fixes: https://tracker.ceph.com/issues/57529
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
(cherry picked from commit 737a7f1cf6194d3b286657587a2123ee5b688a3e)
src/common/options/osd.yaml.in
src/osd/OSD.cc