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

nautilus: mgr/pg_autoscaler: add pg_autoscale_bias #27387

Merged
merged 3 commits into from Apr 10, 2019

Conversation

liewegas
Copy link
Member

@liewegas liewegas commented Apr 4, 2019

Backport of #27154

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit f845fa1)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit f1d3be6)
This is a relatively naive way to apply the bias: we just multiply it
to whatever we would have chosen.  A more clever approach would be to
factor this into the overall cluster-wide PG budget, so that biasing one
pool's PGs up would put downward pressure on other pools.  That is
significantly more complicated, however, and (I think) not worth the
effort.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit e7ad0ee)
@liewegas liewegas added this to the nautilus milestone Apr 4, 2019
@liewegas liewegas requested review from badone and xiexingguo and removed request for badone April 4, 2019 22:07
@liewegas liewegas merged commit 791dd8c into ceph:nautilus Apr 10, 2019
liewegas added a commit that referenced this pull request Apr 10, 2019
* refs/pull/27387/head:
	mgr/pg_autoscaler: apply bias to pg_num selection
	mgr/pg_autoscaler: include pg_autoscale_bias in autoscale-status table
	osd/osd_types,mon: add pg_autoscale_bias pool property

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants