Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement 'do_osd_weight' in balancer module #56

Open
wants to merge 20 commits into
base: wip-balancer
Choose a base branch
from

Conversation

SpandanKumarSahu
Copy link

  • Utilize existing reweight-by-pg and reweight-by-utilization to implement do_osd_weight.
  • Make reweight-by-pg and reweight-by-utilization as MonCommands.
  • Make cost_model as a config.

liewegas added 12 commits July 27, 2017 10:05
This is summary info, same as what's in 'ceph status'.

Signed-off-by: Sage Weil <[email protected]>
- wake up every minute
- back off when unknown, inactive, degraded
- throttle against misplaced ratio
- apply some optimization step
  - initially implement 'upmap' only

Signed-off-by: Sage Weil <[email protected]>
…ts too

Allow us to specify a root node in the hierarchy instead of a rule.
This way we can use it in conjunction with find_takes().

Signed-off-by: Sage Weil <[email protected]>
These let us identify distinct CRUSH hierarchies that rules distribute
data over, and create relative weight maps for the OSDs they map to.

Signed-off-by: Sage Weil <[email protected]>
liewegas and others added 5 commits August 3, 2017 23:47
* score lies in [0, 1), 0 being perfect distribution
* use shifted and scaled cdf of normal distribution
  to prioritize highly over-weighted device.
* consider only over-weighted devices to calculate score

Signed-off-by: Spandan Kumar Sahu <[email protected]>
src/pybind/mgr/balancer/module.py: improve scoring method
(with upmap at least)

Signed-off-by: Sage Weil <[email protected]>
@SpandanKumarSahu SpandanKumarSahu force-pushed the balancer_add_ons branch 3 times, most recently from b81bc15 to 3780ac2 Compare August 23, 2017 14:35
liewegas and others added 3 commits August 23, 2017 20:08
(with upmap at least)

Signed-off-by: Sage Weil <[email protected]>
* make cost_model a config
* use existing reweight-by-utilization and reweight-by-pg

Signed-off-by: Spandan Kumar Sahu <[email protected]>
…ion' as mon commands

Signed-off-by: Spandan Kumar Sahu <[email protected]>
@liewegas liewegas force-pushed the wip-balancer branch 2 times, most recently from b90a269 to a59a1df Compare November 1, 2017 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants