Project

General

Profile

Actions

Bug #68724

closed
AD AD

Modernize PG ratio target and toleration

Bug #68724: Modernize PG ratio target and toleration

Added by Anthony D'Atri about 2 years ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Category:
Documentation
Target version:
-
Due date:
% Done:

0%

Source:
Community (user)
Backport:
umbrella
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-3-gd93121a2e3
Released In:
Upkeep Timestamp:
2026-08-28T01:41:31+00:00

Description

1)In cases where a cluster has disparate OSD sizes and/or loses a failure domain, the current value of 250 for mon_max_pg_per_osd can result in OSDs that mysteriously won't activate. Raise to 500.

2) BlueStore clusters are much less susceptible to RAM inflation and OOMkilling than in the Filestore days, so also increase the PG autoscaler's default PG ratio target from 100 to a still-conservative 200.

There is growing sentiment in the community to modernize both of these values to provide better default performance and operability while not discarding guardrails.

Ideally I'd like to see a split for mon_target_pg_per_osd with _hdd / _ssd / _nvme sub-values, so that NVMe OSDs especially would get a target of as high as 500. Not sure how that would affect the autoscaler code, though, so this is a first step.


Related issues 1 (0 open — 1 closed)

Copied to RADOS - Backport #77367: umbrella: Modernize PG ratio target and tolerationResolvedAnthony D'Atri

Actions

AD Updated by Anthony D'Atri about 2 years ago Actions #1

  • Pull request ID set to 60492

NO Updated by Neha Ojha 8 months ago Actions #2

  • Project changed from Ceph to RADOS
  • Category changed from documentation to Documentation

RZ Updated by Radoslaw Zarzynski 8 months ago Actions #3

  • Status changed from New to Fix Under Review

LF Updated by Laura Flores 7 months ago Actions #4

In QA.

LF Updated by Laura Flores 7 months ago Actions #6

Still in QA

AD Updated by Anthony D'Atri 7 months ago ยท Edited Actions #7

Thanks for the update. The QA process is kind of a black box to me, would love to learn more about it. I do recall that PRs are batched up for efficiency.

Consensus is that this should not be merged into an update release, so I'm very much hoping that it makes it into Umbrella.

LF Updated by Laura Flores 6 months ago Actions #9

Bump up

AD Updated by Anthony D'Atri 6 months ago Actions #11

Laura, might I talk you into updating that test for me? I'm about to fly out to CD Seattle and am not confident that I could properly effect that change after the fix you pushed to the PR.

LF Updated by Laura Flores 6 months ago Actions #12

Yup will help update.

UB Updated by Upkeep Bot 6 months ago Actions #13

  • Status changed from Fix Under Review to Resolved
  • Merge Commit set to d93121a2e30e40ac4e63a04d0ed218cf236cb220
  • Fixed In set to v21.3.0-3-gd93121a2e3
  • Upkeep Timestamp set to 2026-06-11T00:26:17+00:00

AD Updated by Anthony D'Atri 6 months ago Actions #14

  • Backport set to umbrella

AD Updated by Anthony D'Atri 6 months ago Actions #15

  • Status changed from Resolved to Pending Backport

UB Updated by Upkeep Bot 6 months ago Actions #16

  • Copied to Backport #77367: umbrella: Modernize PG ratio target and toleration added

UB Updated by Upkeep Bot 6 months ago Actions #17

  • Tags (freeform) set to backport_processed

AD Updated by Anthony D'Atri 4 months ago Actions #18

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot 3 months ago Actions #19

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-06-11T00:26:17+00:00 to 2026-08-28T01:41:31+00:00
Actions

Also available in: PDF Atom