Search

RAID Part 2

Sunday, August 8, 2010

3. RAID-2: Hamming Code ECC
This type uses striping across disks with some disks storing error checking and correcting information. It has no advantage over RAID-3.


4. RAID-3: Parallel Transfer with Parity
This type uses striping and dedicates one drive to storing parity information. The embedded error checking (ECC) information is used to detect errors. Data recovery is accomplished by calculating the exclusive OR (XOR) of the information recorded on the other drives. Since an I/O operation addresses all drives at the same time, RAID-3 cannot overlap I/O. For this reason, RAID-3 is best for single-user systems with long record applications.

5. RAID-4: Independent Data Disks with Shared Parity Disk
This type uses large stripes, which means you can read records from any single drive. This allows you to take advantage of overlapped I/O for read operations. Since all write operations have to update the parity drive, no I/O overlapping is possible. RAID-4 offers no advantage over RAID-5.

6. RAID-5: Independent Data Disk with distributed Parity Blocks.

Description: One of the most popular RAID levels, RAID 5 stripes both data and parity information across three or more drives. It is similar to RAID 4 except that it exchanges the dedicated parity drive for a distributed parity algorithm, writing data and parity blocks across all the drives in the array. This removes the "bottleneck" that the dedicated parity drive represents, improving write performance slightly and allowing somewhat better parallelism in a multiple-transaction environment, though the overhead necessary in dealing with the parity continues to bog down writes. Fault tolerance is maintained by ensuring that the parity information for any given block of data is placed on a drive separate from those used to store the data itself. The performance of a RAID 5 array can be "adjusted" by trying different stripe sizes until one is found that is well-matched to the application being used.


Advantages:
- Highest Read data transaction rate
- Medium Write data transaction rate
- Low ratio of ECC (Parity) disks to data disks means high efficiency
- Good aggregate transfer rate.
- Full data redundancy.
Disadvantages:
- Disk failure has a medium impact on throughput
- Most Complex controller design
- Difficult to rebuild in the event of a disk failure
- Individual block data transfer rate same as single disk.
- Highest cost to implement

More Information:

0 comments: