Bug #68724
closedModernize PG ratio target and toleration
0%
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.
AD Updated by Anthony D'Atri about 2 years ago
- Pull request ID set to 60492
RZ Updated by Radoslaw Zarzynski 8 months ago
- Status changed from New to Fix Under Review
LF Updated by Laura Flores 7 months ago
In QA.
LF Updated by Laura Flores 7 months ago
LF Updated by Laura Flores 7 months ago
Still in QA
AD Updated by Anthony D'Atri 7 months ago ยท Edited
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.
KS Updated by Kamoltat (Junior) Sirivadhna 7 months ago
bug scrub: added it to the list of my todo: to update the tests in https://github.com/ceph/ceph/pull/60492
LF Updated by Laura Flores 6 months ago
Bump up
RZ Updated by Radoslaw Zarzynski 6 months ago
AD Updated by Anthony D'Atri 6 months ago
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
Yup will help update.
UB Updated by Upkeep Bot 6 months ago
- 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
- Backport set to umbrella
AD Updated by Anthony D'Atri 6 months ago
- Status changed from Resolved to Pending Backport
UB Updated by Upkeep Bot 6 months ago
- Copied to Backport #77367: umbrella: Modernize PG ratio target and toleration added
UB Updated by Upkeep Bot 6 months ago
- Tags (freeform) set to backport_processed
AD Updated by Anthony D'Atri 4 months ago
- Status changed from Pending Backport to Resolved
UB Updated by Upkeep Bot 3 months ago
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2026-06-11T00:26:17+00:00 to 2026-08-28T01:41:31+00:00