Beruflich Dokumente
Kultur Dokumente
Chapter Objective
After completing this chapter, you will be able to: Describe what is RAID and the needs it addresses Describe the concepts upon which RAID is built Define and compare RAID levels Recommend the use of the common RAID levels based on performance and availability considerations Explain factors impacting disk drive performance
Logical Array
RAID Controller
Hard Disks
Host
RAID Array
Strip
Stripe=192KB
Strip 1=64KB
Strip 2=64KB
Strip 3=64KB
Stripe 1 Stripe 2
Strips
1 5 9 RAID Controller
2 6 10
3 7 11
Host
Block 0 1
Host
Block 1 Block 4
Block 3 0
RAID 0
Host
Block 5
Block 1 Block 4
Block 2 Block 5
Block 5
1 Block 2
Block 4 5 RAID Controller 1 Block 2
Host RAID 1
Block 3 0
Block 4 5
Block 2 Block 5
Block 2 Block 5
Block 4
4
1 5 9
RAID Controller
1 ?
Host
3 7 11
4 + 6 + ? + 7 = 18 ? = 18 4 6 7 ?=1
0123 4567 18
Parity Disk
Block
Host
Block 0
Block 2
Block 6
Block 0 4
Block 2
Block 6
Write Performance
100
Low
Very good
50 (n-1)*100/n where n= number of disks (n-1)*100/n where n= number of disks (n-2)*100/n where n= number of disks
High
Good Slower than a single disk, as every write must be committed to two disks Poor to fair for small random writes Good for large, sequential writes Fair for random write Slower due to parity overhead Fair to good for sequential writes Good for small, random writes (has write penalty)
Moderate
Good for random reads and very good for sequential reads Very good for random reads Good for sequential reads Very good for random reads Good for sequential reads
Moderate
50
High
Very good
Good
Ep new
Ep old
2 XOR
E4 old
E4 new
P0
D1
D2
D3
D4
Parity Vs Mirroring
RAID Controller