Bug #10353
the number of tries should be higher for the default erasure coded ruleset
80%
Description
It is common for people to try to map 9 OSDs out of a 9 OSDs total ceph cluster. The default tries (50) is often not enough and 200 should be enough. The ruleset created by default should have
step set_choose_tries 200
to address this case.
Associated revisions
crush: set_choose_tries = 100 for erasure code rulesets
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 <ldachary@redhat.com>
crush: set_choose_tries = 100 for erasure code rulesets
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 <ldachary@redhat.com>
(cherry picked from commit 2f87ac807f3cc7ac55d9677d2051645bf5396a62)
Conflicts:
src/erasure-code/lrc/ErasureCodeLrc.cc
safely ignored because the file does not exist
crush: set_choose_tries = 100 for erasure code rulesets
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 <ldachary@redhat.com>
(cherry picked from commit 2f87ac807f3cc7ac55d9677d2051645bf5396a62)
History
#1 Updated by Loïc Dachary over 9 years ago
- Backport set to giant,firefly
#2 Updated by Loïc Dachary over 9 years ago
- Status changed from 12 to Fix Under Review
- % Done changed from 0 to 80
#3 Updated by Loïc Dachary about 9 years ago
- Status changed from Fix Under Review to Pending Backport
#4 Updated by Loïc Dachary about 9 years ago
- Tracker changed from Fix to Bug
- Severity set to 4 - irritation
#5 Updated by Sage Weil about 9 years ago
giant backport done, still waiting on firefly
#6 Updated by Loïc Dachary about 9 years ago
#7 Updated by Loïc Dachary about 9 years ago
- Status changed from Pending Backport to Resolved