From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fbad3,6f9abf670add977a X-Google-Attributes: gidfbad3,public X-Google-Thread: 1164f8,6f9abf670add977a X-Google-Attributes: gid1164f8,public X-Google-Thread: 10e1c8,6f9abf670add977a X-Google-Attributes: gid10e1c8,public X-Google-ArrivalTime: 1994-07-23 13:37:18 PST Path: nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!darkstar.UCSC.EDU!news.hal.COM!decwrl!netcomsv!netcomsv!netapp.netapp.com!nova.netapp.com!not-for-mail From: hitz@nova.netapp.com (Dave Hitz) Newsgroups: comp.arch.storage,comp.periphs.scsi,comp.sys.dec Subject: Those confusing RAID levels (was: RAID 7's improvements of VAX performance) Date: 23 Jul 1994 12:15:46 -0700 Organization: Network Appliance Corp. Message-ID: <30rq92$bet@nova.netapp.com> References: NNTP-Posting-Host: 192.9.200.13 Xref: nntp.gmd.de comp.arch.storage:3765 comp.periphs.scsi:20436 comp.sys.dec:16902 In article , Malcolm Weir wrote: > Note that the above definitions are fairly hopelessly vague and woolly, > since they omit to define what a "block" actually might be (host block, > sector, or what), and omit some obvious arrangements. As I read the original Patterson RAID paper, the primary intent was not categorize all possible redundant disk formats, but to justify RAID 5 as a step-wise refinement of disk striping. The argument goes something like this: CPUs are speeding up faster than disks, so we need to gang multiple disks together in order to get sufficient I/O. Disk arrays (RAID 0 or striping) help solve this, but using more disks increases the failure rate of the array as a whole. Disk mirroring (RAID 1) protects against failure, but at double the cost. Hamming code (RAID 2) uses fewer disks than mirroring, but is still overkill since individual disks already detect errors. (Hamming code is a full error detection/correction code, but with individual disks *detecting* errors a simpler code such as parity suffices for *correction*.) Bit-wise striping with parity (RAID 3) provides a single high-speed data stream, but since all heads seek together, seek time becomes a bottleneck for multi-process loads with separate I/O streams. Block-wise striping with parity (RAID 4) allows each disk to seek separately, reducing seek time for parallel I/O access, but the parity disk becomes a bottleneck because it participates in every write. Block-wise striping with rotating parity (RAID 5) solves the hot parity because it spreads parity over all the disks, thus evening up the load. I disagree with the implication that RAID 5 is necessarily "better" than RAID 4. I think it makes more sense to stick with RAID 4 and solve the hot-parity problem with better write allocation patterns in the file system. The benefit is that you can easily add new disks to the end of a RAID 4 array by simply zeroing them. Expanding a RAID 5 array is tricky. The "RAID 7" folks also stick with RAID 4, but they use aggressive caching to reduce the hot parity problem and a baffling marketing strategy to reduce customer interest. :-) > [They] omit some obvious arrangements. For example, > what do you call a RAID 4 scheme with ECC? A RAID 3 scheme with > rotating parity? A combination of levels 0 and 1? In the context of the original argument these levels don't make sense: ECC had already been rejected as overkill for bit-wise striping, so why reintroduce it for block-wise striping? Rotating parity addresses the "hot parity disk" problem which doesn't occur in RAID 3 since all disks seek together. In the end, there are so many orthogonal implementation choices that any linear numbering scheme is probably doomed. A complete naming scheme probably needs to consist of an N-space whose axis include: bit-wise vs block-wise stripping, parity vs ECC, rotating vs non rotating parity, read-caching vs write-caching vs no-caching, etc. Dave Hitz hitz@netapp.com Network Appliance (415) 428-5106