Re: [ceph-users] LRC low level plugin configuration can't express maximal erasure resilience

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 04/29/2017 11:48 PM, Matan Liram wrote:
> Hi Loïc,
> 
> Thank you for the fast response, I will try rephrasing:
> 
> Consider a Reed-Solomon code with 6 data chunks {a, b, c, d, e, f} and 2 parity chunks {u, v}. Notice that "u" is a linear combination of a, b, c, d, e, f. If we split "u" into x - linear combination of a, b, c, and y - linear combination of d, e, f, we get an LRC code with 9 chunks (a, b, c, d, e, f - data; v - global; x, y - local), which copes with 2 erasures. It is implied from the fact that it has all the information of a (8,6) Reed-Solomon code.
> 
> However, in the LRC construction you proposed there are 10 chunks, which impose a higher overhead than the optimal 9 chunks which I showed in the previous paragraph. I wonder if there's a way to get the optimal LRC construction for this case, using the plugin configuration Ceph provides. In the previous message I added an example which implies why the solution to this problem is not trivial.

Thanks for explaining. I don't think the current LRC plugin allows for that. It would require another plugin with a different implementation.

Cheers


> Thank you,
> Matan Liram
> 
> 
>> -------- Original Message --------
>> Subject: Re: [ceph-users] LRC low level plugin configuration can't express maximal erasure resilience
>> Local Time: April 29, 2017 11:58 PM
>> UTC Time: April 29, 2017 8:58 PM
>> From: loic@xxxxxxxxxxx
>> To: Matan Liram <matanl@xxxxxxxxxxxxxx>, ceph-users@xxxxxxxxxxxxxx <ceph-users@xxxxxxxxxxxxxx>
>>
>> Hi Matan,
>>
>> On 04/29/2017 10:47 PM, Matan Liram wrote:
>> > LRC low level plugin configuration of the following example copes with a single erasure while it can easily protect from two.
>> >
>> > In case I use the layers:
>> > 1: DDDDDDc_ _
>> > 2: DDD_ _ _ _c_
>> > 3: _ _ _DDD_ _c
>> >
>> > Neither of the rules protect from 2 failures. However, if we calculate the XOR of the two local parities we can treat the calculated value as a second parity disk and cope with two erasures.
>> > This thread discusses the same issue, while according to my understanding it doesn't provide a solution.
>> > http://www.spinics.net/lists/ceph-devel/msg19886.html
>> >
>> > Is there a way to make the proposed construction cope with 2 erasures? A few modifications are acceptable.
>>
>> I'm not sure to understand what you're asking. Would you mind rephrasing ?
>>
>> 1: DDDDDDc_ _
>> 2: DDD_ _ _ _c_
>> 3: _ _ _DDD_ _c
>>
>>
>> 1: DDDDDDc_ __
>> 2: DDD_ _ _ _c__
>> 3: _ _ _DDD_ _cc
>>
>> That would not work ?
>>
>> Cheers
>>
>> >
>> > Thank you,
>> > Matan Liram
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > ceph-users mailing list
>> > ceph-users@xxxxxxxxxxxxxx
>> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>> >
>>
>> -- 
>> Loïc Dachary, Artisan Logiciel Libre
> 

-- 
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux