]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: set_choose_tries = 100 for erasure code rulesets
authorLoic Dachary <ldachary@redhat.com>
Wed, 17 Dec 2014 15:06:55 +0000 (16:06 +0100)
committerLoic Dachary <ldachary@redhat.com>
Thu, 15 Jan 2015 20:26:53 +0000 (21:26 +0100)
commit2f87ac807f3cc7ac55d9677d2051645bf5396a62
treee34e27002e5ab8693a648a2224a4fe5cc82ce8c6
parent4d07a32e2662fa92b16a3d3f4844b8c17167a8b8
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>
src/crush/CrushWrapper.cc
src/erasure-code/lrc/ErasureCodeLrc.cc