Hi Xavi, I had the same understanding. However the decoding routine is not always able to invert the given matrix. This can be either due to the generator matrix which does not conserve the MDS property, the matrix inversion procedure or a bug on my side I will check carefully my code and the input I provide. I already asked the maintainer of the library who put me on that path and there are also inline comments about non invertible vandermonde matrices in the code. However if I switch to a cauchy matrix I never see any problem with the code. Cheers Andreas. ________________________________________ From: Xavier Hernandez [xhernandez@xxxxxxxxxx] Sent: 04 July 2014 09:43 To: Andreas Joachim Peters Cc: Loic Dachary; ceph-devel@xxxxxxxxxxxxxxx Subject: Re: Intel ISA-L EC plugin On Thursday 03 July 2014 21:24:59 Andreas Joachim Peters wrote: > Hi Loic, > > I have chosen after benchmarking to use the LRU cache for the decoding > matrix. I can cache easily all decoding matrices (worst case scenario) for > configurations up to (10,4) without trashing it. I will restrict the (k,m) > in case of the vandermonde matrix to the ones which are invertible, for > cauchy they are all invertible anyway. Maybe I'm misunderstanding something because I haven't had time to analyze ec code. AFAIK the only condition that a Vandermonde matrix needs to be invertible is to have all rows different (i.e. use a different base number for each row). Do you have matrices with duplicated rows ? or there is some property I don't know ? Thanks, Xavi -- 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