Chapter 6. Disk Arrays
I/O certainly has been lagging in the last decade.
Most of the improvements in disk technology have been made with the aim of increasing the capacity/price ratio. Although these changes have made mass storage much more affordable, they have brought about two fairly serious problems:
When a single disk can store tens of gigabytes of data, the reliability of an individual disk becomes a serious concern, as the failure of an individual disk results in the loss of large amounts of data.
Disk performance has lagged drastically behind capacity/price improvements.
To solve these problems, a great deal of effort has been put into designing methods of organizing sets of disks to enhance both reliability and performance. This has come to be known as RAID, which either stands for “Redundant Array of Inexpensive Disks” or “Redundant Array of Independent Disks,” depending on who you listen to. There are seven levels of RAID; each takes a different approach to solving these problems. The types of RAID are summarized in Table 6-1.
RAID level |
Organization |
Strengths |
Weaknesses |
RAID 0 |
Striping |
Very fast, simple |
Low reliability |
RAID 1 |
Mirroring |
Fast, simple |
Expensive |
RAID 2 |
Reliability viaHamming codes |
Reliable |
Inflexible |
RAID 3 |
Parity |
Fast sequential access, reliable |
Slow random access, implementation difficult |
RAID 4 |
Parity |
Average performance, reliable |
Bottlenecks on dedicated parity disk |
RAID ... |
Get System Performance Tuning, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.