]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Set default max active recovery and backfill limits for mClock
authorSridhar Seshasayee <sseshasa@redhat.com>
Mon, 20 Mar 2023 12:29:17 +0000 (17:59 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Thu, 27 Apr 2023 13:12:18 +0000 (18:42 +0530)
commit17a6106934338ea40133e0dc7e085559b3685042
tree938fd237a0867001f82d80d907b31d4ac62a77aa
parentaa65ef9b6e9790b475cd8d4601e967147dde57f5
osd: Set default max active recovery and backfill limits for mClock

Client ops are sensitive to the recovery load and must be carefully
set for osds whose underlying device is HDD. Tests revealed that
recoveries with osd_max_backfills = 10 and osd_recovery_max_active_hdd = 5
were still aggressive and overwhelmed client ops. The built-in defaults
for mClock are now set to:

    1) osd_recovery_max_active_hdd = 3
    2) osd_recovery_max_active_ssd = 10
    3) osd_max_backfills = 3

The above may be modified if necessary by setting
osd_mclock_override_recovery_settings option.

Fixes: https://tracker.ceph.com/issues/58529
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
src/osd/OSD.cc