Project

General

Profile

Actions

Bug #78314

closed
JB LF

balancer under-prioritizes small OSDs and can stall out.

Bug #78314: balancer under-prioritizes small OSDs and can stall out.

Added by Joshua Blanch 5 months ago. Updated 3 months ago.

Status:
Backporting
Priority:
Normal
Assignee:
Category:
balancer module
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle, umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-3427-gb789b5e98e
Released In:
Upkeep Timestamp:
2026-09-18T00:53:11+00:00

Description

The balancer scores balance using the sum of absolute (squared) deviations, which
weights small and large OSDs equally. This causes tiny OSDs that are 2x overfull to
be neglected in favor of large OSDs that are barely over target

should instead score using relative deviation weighted by OSD size so
overfull small OSDs get priority.


Related issues 2 (1 open — 1 closed)

Copied to mgr - Backport #80632: umbrella: balancer under-prioritizes small OSDs and can stall out.ResolvedLaura Flores

Actions
Copied to mgr - Backport #80633: tentacle: balancer under-prioritizes small OSDs and can stall out.Fix Under ReviewLaura Flores

Actions

NM Updated by Nitzan Mordechai 4 months ago Actions #1

bug scrub: @Laura Flores can you please take a look?

NM Updated by Nitzan Mordechai 4 months ago Actions #2

  • Category set to balancer module
  • Backport set to tentacle, umbrella

LF Updated by Laura Flores 4 months ago Actions #3

  • Assignee set to Laura Flores

NM Updated by Nitzan Mordechai 3 months ago Actions #4

  • Status changed from New to Fix Under Review

UB Updated by Upkeep Bot 3 months ago Actions #5

  • Copied to Backport #80632: umbrella: balancer under-prioritizes small OSDs and can stall out. added

UB Updated by Upkeep Bot 3 months ago Actions #6

  • Copied to Backport #80633: tentacle: balancer under-prioritizes small OSDs and can stall out. added

UB Updated by Upkeep Bot 3 months ago Actions #7

  • Status changed from Fix Under Review to Backporting
  • Merge Commit set to b789b5e98e73e7efe2768fc312a8bc40301331e5
  • Fixed In set to v21.3.0-3427-gb789b5e98e
  • Upkeep Timestamp set to 2026-09-18T00:53:11+00:00
Actions

Also available in: PDF Atom