Commit graph

56 commits

Author SHA1 Message Date
Andrea Mazzoleni
b6c93cd61b Renames par3z to parz. 2013-11-17 14:27:31 +01:00
Andrea Mazzoleni
915c3b9202 Renames parity level from RAID to PAR. 2013-11-13 21:35:44 +01:00
Andrea Mazzoleni
5c061e1dca Changes the power coefficient for z-parity from 4 to 2^-1. 2013-11-06 22:07:50 +01:00
Andrea Mazzoleni
a10e8d2c2a Uses logical shift instead than arithmetic. 2013-11-06 08:47:36 +01:00
Andrea Mazzoleni
bb0cd0e7ac Finalizes alternate triple parity support. 2013-11-05 19:40:32 +01:00
Andrea Mazzoleni
a5a3c33854 Adds support for fast triple parity without SSSE3. 2013-11-04 23:47:49 +01:00
Andrea Mazzoleni
6a3438f883 Reverse the order of disk buffers that are accessed in backward order.
This improves a little the speed.
2013-11-04 19:45:29 +01:00
Andrea Mazzoleni
3dd6e50c4e Adds optimized SSSE3 functions for recovering. 2013-11-03 17:50:09 +01:00
Andrea Mazzoleni
6a00099863 Uses the compiler to unroll recover functions. 2013-11-03 11:23:47 +01:00
Andrea Mazzoleni
675df548aa Some renaming and other minor changes. 2013-11-03 10:41:52 +01:00
Andrea Mazzoleni
b783e1f745 Changes notation from e[] to c[] for checksum/parity index. 2013-11-02 16:32:26 +01:00
Andrea Mazzoleni
bfa35bc511 Removes unnecessary unrolling in raid delta functions. 2013-11-02 16:15:31 +01:00
Andrea Mazzoleni
d3086339aa Documentation and comment changes. 2013-11-02 15:55:57 +01:00
Andrea Mazzoleni
fafa641b42 Little changes at comments. 2013-10-29 18:22:05 +01:00
Andrea Mazzoleni
5efe8381f5 Faster raid generator functions. 2013-10-28 22:55:32 +01:00
Andrea Mazzoleni
5b60bd077d Minor comments and output changes. 2013-10-27 21:05:18 +01:00
Andrea Mazzoleni
e7804a5f8f Reviews raid.c comments. 2013-10-27 16:33:20 +01:00
Andrea Mazzoleni
2456e88132 Reviews again raid comments. 2013-10-26 19:06:47 +02:00
Andrea Mazzoleni
bd486e8866 Cleanup and removes unnecessary optimization. 2013-10-26 17:08:09 +02:00
Andrea Mazzoleni
162650303c Uses more generic recovering functions with vectors instead of variables. 2013-10-26 16:35:35 +02:00
Andrea Mazzoleni
7057d97999 Removes legacy MMX support. 2013-10-26 12:54:08 +02:00
Andrea Mazzoleni
9a5978eb22 Adds complete Cauchy RAID support and removes the mixed Power RAID. 2013-10-25 18:03:05 +02:00
Andrea Mazzoleni
136af37e96 Adds preliminary support for RAID based on a Cauchy matrix. 2013-10-22 23:40:05 +02:00
Andrea Mazzoleni
65f40a8fa5 Updates RAID comments. 2013-10-19 10:14:55 +02:00
Andrea Mazzoleni
8d5d21b0f1 Removes RAID computation processing 128 bytes block. 2013-10-15 19:20:50 +02:00
Andrea Mazzoleni
39d18280bb Reviews the RAID comments. 2013-10-15 19:14:08 +02:00
Andrea Mazzoleni
e33a916295 Disables SSSE3 on Atom and Jaguar CPU.
It's slower than plain SSE2.
2013-10-07 22:21:26 +02:00
Andrea Mazzoleni
823bc8a8c0 Adds SSSE3 and AVX parity computation. 2013-10-06 16:06:17 +02:00
Andrea Mazzoleni
3d689c53de Doesn't use extended SSE registers in the Bulldozer AMD family. 2013-09-29 15:24:15 +02:00
Andrea Mazzoleni
53744ed2b1 Refactors the whole raid support. 2013-09-22 23:32:30 +02:00
Andrea Mazzoleni
5f332c0067 Again more comments for RAID recovering. 2013-09-20 22:06:11 +02:00
Andrea Mazzoleni
c6c053989d More comments about RAID support. 2013-09-20 14:44:08 +02:00
Andrea Mazzoleni
f4c1e288b2 Removes the specific recovering functions.
We now always use the generic ones.
2013-09-18 23:06:07 +02:00
Andrea Mazzoleni
f8303d2963 Adds preliminary support for QuadParity. 2013-09-17 23:05:44 +02:00
Andrea Mazzoleni
a3d939d024 Fixes RAIDTP mmx implementation. 2013-09-17 19:24:48 +02:00
Andrea Mazzoleni
0aa0593dec Fixes a Q/R reference in a comment. 2013-09-16 18:43:48 +02:00
Andrea Mazzoleni
9b4f0ea25f Uses as example a set of smaller coefficients. 2013-09-15 21:12:12 +02:00
Andrea Mazzoleni
397ac3ea8c Removes reference of Vandermonde matrix.
The McWilliams-Sloane, "The Theory of Error Correcting Codes" explicitely states that a Vandermonde matrix can have singular submatrix in a finite field.
2013-09-15 18:50:01 +02:00
Andrea Mazzoleni
91ad1e7f24 More comment about Quad parity. 2013-09-15 16:10:58 +02:00
Andrea Mazzoleni
7e0b93caef Adds more details about Quad Parity. 2013-09-11 21:30:21 +02:00
Andrea Mazzoleni
32130a4bdf Fixes the equation notations. 2013-09-09 22:13:44 +02:00
Andrea Mazzoleni
05bf1b5106 Describes in details the method used to implement RAID-TP.
Renames some variables to match the symbols in the equations.
2013-09-09 22:03:40 +02:00
Andrea Mazzoleni
2f8d1319aa Exploits some common subexpressions in RAID recovering. 2013-09-09 19:14:20 +02:00
Andrea Mazzoleni
7060ca8981 Uses GPL2 for RAID-TP implementation. 2013-09-07 18:41:30 +02:00
Andrea Mazzoleni
22d5d86a81 Applies some semplifications to RAIDTP equations. 2013-09-07 17:47:00 +02:00
Andrea Mazzoleni
3bf64d8095 Renames some variable for consistency. 2013-09-07 17:46:10 +02:00
Andrea Mazzoleni
18840848e9 Computation support for RAID-TP (Triple Parity). 2013-09-07 17:22:33 +02:00
Andrea Mazzoleni
73a860bec0 Adds prelinary RAID5 unrolled by 8. 2013-06-20 23:59:33 +02:00
Andrea Mazzoleni
6049b71296 Removes the slowsse2 cpu flag. It's no more requires as sse2 is not faster than mmx. 2013-06-14 22:39:27 +02:00
Andrea Mazzoleni
e92035284f Adds RAID6 mmx/sse2 unroll by 4. 2013-06-13 23:32:16 +02:00