Crush ruleset for locally repairable codes (LRC)
Hi Andreas,
The draft ruleset creation matching for LRC is documented at
tested at
and implemented at
There are two points for which your advice would be most appreciated:
* The default ruleset is the same as for jerasure, i.e. host is the failure domain. The primary reason is that it is likely to work anywhere, hence it is a good default. Although it does not match any actual use case, it there is a side effect that can be observed externally (i.e. reduced inter-host bandwidth during recovery) and that matches the expected benefit. It would be an actual benefit if machines were connected to a hub but that is unlikely to be the case nowadays ;-)
* Control of the crush ruleset steps is made explicit and disconnected from the description of the layers. Trying to link the encoding steps to the crush description creates confusion because the logic is different. The crush ruleset is designed first, thinking about failure domains. The erasure code processing is designed next, using the N OSDs provided by crush. Hopefully the examples and logic documented at
make sense to the Ceph operator.
Cheers
Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre