-
Notifications
You must be signed in to change notification settings - Fork 7
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
SpandanKumarSahu
wants to merge
20
commits into
liewegas:wip-balancer
Choose a base branch
from
SpandanKumarSahu:balancer_add_ons
base: wip-balancer
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
implement 'do_osd_weight' in balancer module #56
SpandanKumarSahu
wants to merge
20
commits into
liewegas:wip-balancer
from
SpandanKumarSahu:balancer_add_ons
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is summary info, same as what's in 'ceph status'. Signed-off-by: Sage Weil <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
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]>
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]>
Signed-off-by: Sage Weil <[email protected]>
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]>
Signed-off-by: Sage Weil <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
* 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
force-pushed
the
balancer_add_ons
branch
3 times, most recently
from
August 23, 2017 14:35
b81bc15
to
3780ac2
Compare
(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]>
SpandanKumarSahu
force-pushed
the
balancer_add_ons
branch
from
August 23, 2017 14:39
3780ac2
to
6bc153f
Compare
liewegas
force-pushed
the
wip-balancer
branch
from
September 6, 2017 20:47
1ac2a87
to
ef1a3be
Compare
liewegas
force-pushed
the
wip-balancer
branch
2 times, most recently
from
November 1, 2017 12:29
b90a269
to
a59a1df
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
reweight-by-pg
andreweight-by-utilization
to implementdo_osd_weight
.reweight-by-pg
andreweight-by-utilization
as MonCommands.