版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領
文檔簡介
1、CPRE 545: Fault Tolerant SystemsBasic Building BlocksStable Storage: RAID ArchitectureCprE 545 Fault-Tolerant Systems (G. Manimaran, ISU)Stable Storage: RAID ArchitectureIntroductionnTypes of Disk FailuresnTransient FailuresnDisk behaves unpredictably for a short period of timenBad SectornA page bec
2、omes corruptednController FailurenDisk controller failsnDisk FailurenEntire disk becomes unreadableStable Storage: RAID ArchitectureIntroduction (contd.)nTypes of Disk ErrorsnRead Errors:nSoft read error: Page “a” is good but read returns bad for a short durationnPersistent read error: Page “a” is g
3、ood but read returns bad for a long durationnUndetected error: page “a” is bad but read returns goodnWrite Errors:nNull write: Page “a” is unchangednBad write: Page “a” becomes (bad, d)Stable Storage: RAID ArchitectureMaking a single disk system stablenAn ordinary single disk system can be made stab
4、le by introducing the following operations:nCareful Read: A read is performed repeatedly until it returns the status good or the page cannot be read after a certain number of timesnCareful Write: Performs a write followed by a read until read returns the status good. This eliminates null write and b
5、ad write errorsnThese operations cannot take care of the decay events (bad sector, etc.)Stable Storage: RAID ArchitectureMaking a single disk system stablenThe decay events can be taking a pair of pages and replicating data in both the pages. The pages are chosen to be decay unrelated. Since the pag
6、es are not decay related, at least one page should have the status good.nStable Read:nDoes a careful read from one of the paired pages, and if the result is bad it performs a careful read from the other page.nStable Write:nPerforms careful write into each one of the paired pages one after the other.
7、Stable Storage: RAID ArchitectureIssuesnThe above discussed single disk mechanisms can handle: soft read error, null write, bad write, and persistent read error.nHowever it cannot handle events like disk crash.nAlthough the inconsistencies caused by disk crashes can be handled, the data is unavailab
8、le until the crashed node/disk is recovered.nTherefore, multiple disk systems are designed to provide availability and reliability.Stable Storage: RAID ArchitectureRAID ArchitecturenRAID: Redundant Array of Inexpensive DisksnCombine multiple small, inexpensive disk drives into a group to yield perfo
9、rmance exceeding that of one large, more expensive drivenAppear to the computer as a single virtual drive nSupport fault-tolerance by redundantly storing information in various waysnUses Data Striping to achieve better performanceStable Storage: RAID ArchitectureBasic IssuesnTwo operations performed
10、 on a disknRead() : small or large.nWrite(): small or large.nAccess Concurrency is the number of simultaneous requests the can be serviced by the disk systemnThroughput is the number of bytes that can be read or written per unit time as seen by one requestnData Striping: spreading out blocks of each
11、 file across multiple disk drives.nThe stripe size is the same as the block sizeStable Storage: RAID ArchitectureBasic IssuesnThe Stripe will introduces a tradeoff between I/O throughput and Access concurrencynSmall Stripe means high throughput but no or few access concurrency.nLarge strip size prov
12、ides better access concurrency but less throughput for single requestStable Storage: RAID ArchitectureRAID Levels: RAID-0nNo RedundancynNo Fault Tolerance, If one drive fails then all data in the array is lost.nHigh I/O performancenParallel I/OnBest Storage efficiencyStable Storage: RAID Architectur
13、eRAID-1nDisk MirroringnPoor Storage efficiency.nBest Read Performance: Maybe double.nPoor write Performance: two disks to be written.nGood fault tolerance: as long as one disk of a pair is working then we can perform R/W operations.MTTFRAID-1 = (MTTF / 2) * (MTTF / MTTR)Stable Storage: RAID Architec
14、tureRAID-2nBit Level Striping.nUses Hamming Codes, a form of Error Correction Code (ECC).nCan Tolerate Disk one Failure.n# Redundant Disks = O (log (total disks).nBetter Storage efficiency than mirroring.nHigh throughput but no access concurrency.nExpensive write.nExample, for 4 disks 3 redundant di
15、sks to tolerate one disk failureStable Storage: RAID ArchitectureRAID-3nByte Level Striping with parity.nNo need for ECC since the controller knows which disk is in error. So parity is enough to tolerate one disk failure.nBest Throughput, but no concurrency.nOnly one Redundant disk is needed.Stable
16、Storage: RAID ArchitectureRAID-4nBlock Level Striping.nStripe size introduces the tradeoff between access concurrency versus throughput.nBlock Interleaved parity.nParity disk is a bottleneck in the case of a small write where we have multiple writes at the same time.nNo problems for small or large reads.Stable Storage: RAID ArchitectureRAID-4 cont.nIn general writes are very expensive.nRead-Modify-Write: for a small write you have to read all the disks, modify the parity, and then write it back along with the new data.nRead-Modify-Write is less obviou
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 自動報靶器課程設計
- 自行車cad課程設計
- 有關(guān)趣味數(shù)學的課程設計
- 幼兒園銅鼓主題課程設計
- 網(wǎng)絡技術(shù)課程設計
- 系統(tǒng)規(guī)劃課程設計
- 椅子美背課程設計
- 新材料行業(yè)技術(shù)工作總結(jié)
- 建筑行業(yè)推廣方案分享
- 電動車課程設計摘要
- 電梯維護保養(yǎng)分包合同
- 10以內(nèi)連加減口算練習題完整版139
- 2022-2023學年廣東省廣州市海珠區(qū)六年級(上)期末英語試卷(含答案)
- 2024至2030年中國瀝青攪拌站行業(yè)市場現(xiàn)狀調(diào)研及市場需求潛力報告
- 《平凡的世界》整本書閱讀指導教學設計基礎模塊上冊
- 2024政務服務綜合窗口人員能力與服務規(guī)范考試試題
- (高清版)AQ 2002-2018 煉鐵安全規(guī)程
- 虛擬現(xiàn)實與增強現(xiàn)實
- 08J933-1體育場地與設施(一)
- 生豬屠宰獸醫(yī)衛(wèi)生檢驗人員理論考試題庫及答案
- 課題論文:引領新經(jīng)濟加速新質(zhì)生產(chǎn)力發(fā)展
評論
0/150
提交評論