Project

General

Profile

Actions

Bug #58606

closed
SS SS

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

Bug #58606: 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 almost 4 years ago. Updated over 1 year ago.

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

0%

Source:
Backport:
quincy, reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
OSD
Pull request ID:
Tags (freeform):
Fixed In:
v18.0.0-3828-ga9d46ad6dd1
Released In:
v19.2.0~2398
Upkeep Timestamp:
2025-07-12T19:07:28+00:00

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 open — 2 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 Seshasayee

Actions
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 Seshasayee

Actions

SS Updated by Sridhar Seshasayee almost 4 years ago Actions #1

  • 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..

SS Updated by Sridhar Seshasayee almost 4 years ago Actions #2

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

SS Updated by Sridhar Seshasayee over 3 years ago Actions #3

  • Status changed from Fix Under Review to Pending Backport

SS Updated by Sridhar Seshasayee over 3 years ago Actions #4

  • Backport set to quincy, reef

UB Updated by Upkeep Bot over 3 years ago Actions #5

  • 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

UB Updated by Upkeep Bot over 3 years ago Actions #6

  • 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

SS Updated by Sridhar Seshasayee over 3 years ago Actions #8

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot over 1 year ago Actions #9

  • Merge Commit set to a9d46ad6dd12efb51ffa29ef12be6b19761a0911
  • Fixed In set to v18.0.0-3828-ga9d46ad6dd1
  • Released In set to v19.2.0~2398
  • Upkeep Timestamp set to 2025-07-12T19:07:28+00:00
Actions

Also available in: PDF Atom