Project

General

Profile

Actions

Bug #58606

closed

osd: osd_recovery_cost with mClockScheduler enabled doesn't reflect the size of the object being recovered leading to degraded recovery performance..

Added by Sridhar Seshasayee about 1 year ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Category:
Performance/Resource Usage
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy, reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
OSD
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Currently osd_recovery_cost is set to a static value equivalent to 20 MiB.
This cost is set regardless of the size of the object being recovered.
This results in the recovery items, regardless of object size, to remain
in the mClock queue for the same amount of time. This negatively impacts
the performance of recovery ops.

To resolve this, osd_recovery_cost must reflect the size of the object
being recovered before enqueuing the item into the mClock queue.

See related BZ for more details: https://bugzilla.redhat.com/show_bug.cgi?id=2163473


Related issues 2 (0 open2 closed)

Copied to RADOS - Backport #62129: quincy: osd: osd_recovery_cost with mClockScheduler enabled doesn't reflect the size of the object being recovered leading to degraded recovery performance..ResolvedSridhar SeshasayeeActions
Copied to RADOS - Backport #62130: reef: osd: osd_recovery_cost with mClockScheduler enabled doesn't reflect the size of the object being recovered leading to degraded recovery performance..ResolvedSridhar SeshasayeeActions
Actions #1

Updated by Sridhar Seshasayee about 1 year ago

  • Subject changed from osd: osd_recovery_cost with mClockScheduler enabled must reflect the size of the object being recovered. to osd: osd_recovery_cost with mClockScheduler enabled doesn't reflect the size of the object being recovered leading to degraded recovery performance..
Actions #2

Updated by Sridhar Seshasayee about 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 49975
Actions #3

Updated by Sridhar Seshasayee 9 months ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Sridhar Seshasayee 9 months ago

  • Backport set to quincy, reef
Actions #5

Updated by Backport Bot 9 months ago

  • Copied to Backport #62129: quincy: osd: osd_recovery_cost with mClockScheduler enabled doesn't reflect the size of the object being recovered leading to degraded recovery performance.. added
Actions #6

Updated by Backport Bot 9 months ago

  • Copied to Backport #62130: reef: osd: osd_recovery_cost with mClockScheduler enabled doesn't reflect the size of the object being recovered leading to degraded recovery performance.. added
Actions #7

Updated by Backport Bot 9 months ago

  • Tags set to backport_processed
Actions #8

Updated by Sridhar Seshasayee 9 months ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF