27.01.2015 Views

Note de curs - Departamentul Automatica, Calculatoare si ...

Note de curs - Departamentul Automatica, Calculatoare si ...

Note de curs - Departamentul Automatica, Calculatoare si ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Pentru alte valori w, polinoame primitive q(x) se gǎsesc în literaturǎ. Iatǎ<br />

câteva:<br />

w = 4: x 4 + x + 1<br />

w = 8: x 8 + x 4 + x 3 + x 2 + 1<br />

w = 16: x 16 + x 12 + x 3 + x + 1<br />

w = 32: x 32 + x 22 + x 3 + x + 1<br />

w = 64: x 64 + x 4 + x 3 + x + 1<br />

Cu elementul <strong>de</strong> pornire x 0 = 1, GF(2 w ) se completeazǎ prin enumerarea<br />

elementelor obtinute prin multiplicarea cu x a ultimului element enumerat <strong>si</strong><br />

luarea rezultatelor modulo q(x). Tabelul care urmeazǎ cuprin<strong>de</strong> cazul câmpului<br />

GF(2 4 ) cu polinomul primitiv q(x) = x 4 + x + 1. În acela<strong>si</strong> tabel se observǎ <strong>si</strong><br />

modul cum se genereazǎ tabelele <strong>de</strong> logaritmi <strong>si</strong> <strong>de</strong> invers-logaritmi prezentate<br />

mai <strong>de</strong>vreme.<br />

Element<br />

generat<br />

Polinom<br />

Exprimar<br />

e binarǎ<br />

0 0 0000 0<br />

x 0 1 0001 1<br />

x 1 x 1 0010 2<br />

x 2 x 2 0100 4<br />

x 3 x 3 1000 8<br />

x 4 x + 1 0011 3<br />

x 5 x 2 + x 0110 6<br />

x 6 x 3 + x 2 1100 12<br />

x 7 x 3 + x + 1 1011 11<br />

x 8 x 2 + 1 0101 5<br />

x 9 x 3 + x 1010 10<br />

x 10 x 2 + x + 1 0111 7<br />

x 11 x 3 + x 2 + x 1110 14<br />

x 12 x 3 + x 2 + x + 1 1111 15<br />

x 13 x 3 + x 2 + 1 1101 13<br />

x 14 x 3 + 1 1001 9<br />

x 15 1 0001 1<br />

Exprimare<br />

zecimalǎ<br />

Sumarul algoritmului<br />

Fiind date n dispozitive pentru date <strong>si</strong> m dispozitive <strong>de</strong> control, algoritmul RS-<br />

RAID care le face tolerante la cel mult m <strong>de</strong>fecte se aplicǎ urmǎtoarea secventǎ<br />

<strong>de</strong> operatii:<br />

1. Se alege o valoare pentru w astfel ca 2 w > m + n. Este convenabil a se alege<br />

w = 8 sau w = 16, ceea ce conduce la cuvinte numǎrate în octeti (bytes).<br />

Pentru w = 16 suma m + n poate fi pânǎ la 65535.<br />

115

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!