Imemori ye-ECC Uhlalutyo lobuchwephesha

Imemori ye-ECC, ekwabizwa ngokuba yinkumbulo yeKhowudi yokuLungisa impazamo, inamandla okubona nokulungisa iimpazamo kwidatha. Iqhele ukusetyenziswa kwiikhompyuter eziphezulu zedesktop, iiseva, kunye neendawo zokusebenza ukunyusa uzinzo kunye nokhuseleko lwenkqubo.

Imemori sisixhobo sombane, kwaye iimpazamo zinokwenzeka ngexesha lokusebenza kwayo. Kubasebenzisi abaneemfuno eziphezulu zokuzinza, iimpazamo zememori zingakhokelela kwimibandela ebalulekileyo. Iimpazamo zememori zingahlelwa zibe ziindidi ezimbini: iimpazamo ezinzima kunye neempazamo ezithambileyo. Iimpazamo ezinzima zibangelwa umonakalo we-hardware okanye iziphene, kwaye idatha ayilunganga ngokuqhubekayo. Ezi mpazamo azinakulungiswa. Kwelinye icala, iimpazamo ezithambileyo zenzeka ngokungacwangciswanga ngenxa yezinto ezifana nokuphazamiseka kwe-elektroniki kufutshane nememori kwaye zinokulungiswa.

Ukubona kunye nokulungisa iimpazamo zememori ethambileyo, ingcamango yememori "itshekhi yokulingana" yaziswa. Eyona yunithi incinci kwinkumbulo yintwana, imelwe ngu-1 okanye u-0. Amasuntswana asibhozo alandelelanayo enza i-byte. Imemori ngaphandle kokujonga ukulinganisa ine-bits ezi-8 kuphela nge-byte nganye, kwaye ukuba nayiphi na i-bit igcina ixabiso elingalunganga, kunokukhokelela kwidatha ephosakeleyo kunye nokungaphumeleli kwesicelo. I-Parity check yongeza isuntswana eyongezelelweyo kwi-byte nganye njenge-bit yokujonga iimpazamo. Emva kokugcina idatha kwi-byte, iibhithi ezisibhozo zinepateni esisigxina. Umzekelo, ukuba amasuntswana agcina idata njengo 1, 1, 1, 0, 0, 1, 0, 1, isimbuku sezi bits asiqhelekanga (1+1+1+0+0+1+0+1=5 ). Kukwalingana, ukulingana kancinci kuchazwa njengo-1; ngaphandle koko, ngu-0. Xa i-CPU ifunda idatha egciniweyo, idibanisa i-bits yokuqala kwaye ithelekise umphumo kunye ne-parity bit. Le nkqubo inokubona iimpazamo zememori, kodwa ukujonga ukulinganisa akukwazi ukuzilungisa. Ukongeza, ukujonga umlinganiso akukwazi ukubona iimpazamo eziphindwe kabini, nangona amathuba okuba neempazamo eziphindwe kabini ziphantsi.

Imemori ye-ECC (Imposiso kunye noLungiso) imemori, kwelinye icala, igcina ikhowudi efihliweyo ecaleni kweebhithi zedatha. Xa idatha ibhaliwe kwimemori, ikhowudi ye-ECC ehambelana nayo iyagcinwa. Xa ufunda umva idatha egciniweyo, ikhowudi ye-ECC egciniweyo ithelekiswa nekhowudi ye-ECC esandula ukwenziwa. Ukuba azihambelani, iikhowudi zihlanjululwa ukuchonga i-bit engalunganga kwidatha. I-bit ephosakeleyo iyalahlwa, kwaye umlawuli wememori ukhupha idatha echanekileyo. Idatha echanekileyo ayifane ibhalwe kwinkumbulo. Ukuba idatha efanayo ephosakeleyo iphinda ifundwe kwakhona, inkqubo yokulungisa iphinda iphindwe. Ukubhala kwakhona idatha kunokwazisa ngaphezulu, okukhokelela ekunciphiseni okubonakalayo kokusebenza. Nangona kunjalo, imemori ye-ECC ibalulekile kwiiseva kunye nezicelo ezifanayo, njengoko ibonelela ngezakhono zokulungisa iimpazamo. Imemori ye-ECC ibiza kakhulu kunememori eqhelekileyo ngenxa yeempawu zayo ezongezelelweyo.

Ukusebenzisa imemori ye-ECC kunokuba nempembelelo enkulu ekusebenzeni kwenkqubo. Nangona kunokunciphisa ukusebenza ngokubanzi, ukulungiswa kweempazamo kubalulekile kwizicelo ezibalulekileyo kunye neeseva. Ngenxa yoko, imemori ye-ECC lukhetho oluqhelekileyo kwiindawo apho ukuthembeka kwedatha kunye nokuzinza kwenkqubo kubaluleke kakhulu.


Ixesha lokuposa: Jul-19-2023