Skip to content

crush: set_choose_tries = 100 for erasure code rulesets - #4031

Merged
liewegas merged 1 commit into
giantfrom
unknown repository
Mar 17, 2015
Merged

liewegas merged 1 commit into
giantfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Mar 17, 2015

Copy link
Copy Markdown

It is common for people to try to map 9 OSDs out of a 9 OSDs total ceph
cluster. The default tries (50) will frequently lead to bad mappings for
this use case. Changing it to 100 makes no significant CPU performance
difference, as tested manually by running crushtool on one million
mappings.

http://tracker.ceph.com/issues/10353 Fixes: #10353

Signed-off-by: Loic Dachary [email protected]
(cherry picked from commit 2f87ac8)

It is common for people to try to map 9 OSDs out of a 9 OSDs total ceph
cluster. The default tries (50) will frequently lead to bad mappings for
this use case. Changing it to 100 makes no significant CPU performance
difference, as tested manually by running crushtool on one million
mappings.

http://tracker.ceph.com/issues/10353 Fixes: #10353

Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 2f87ac8)
@ghost ghost added bug-fix core labels Mar 17, 2015
@ghost ghost self-assigned this Mar 17, 2015
@ghost ghost added this to the giant milestone Mar 17, 2015
@loic-bot

Copy link
Copy Markdown

SUCCESS: the output of run-make-check.sh on centos-7 for 048fcc8403366f045b9c18e8cb7d9ee492764b63 is http://paste2.org/FPm43XvP

:octocat: Sent from GH.

liewegas added a commit that referenced this pull request Mar 17, 2015
crush: set_choose_tries = 100 for erasure code rulesets
@liewegas
liewegas merged commit 9094185 into ceph:giant Mar 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants