HP LH4r Installation and configuration of the HP NetRAID, NetRAID-1 and NetRAI - Page 27

RAID 5: Striping with Distributed Parity

Page 27 highlights

Chapter 2 RAID Overview RAID 5: Striping with Distributed Parity RAID 5 is the most common configuration because it provides good overall performance and data protection with a minimum loss of storage capacity. RAID 5 distributes the parity blocks equally among all disk drives to achieve better overall performance than if a dedicated parity disk is used (RAID 3). If you have five physical drives configured as one RAID 5 logical drive, data blocks are written as follows: Disk 1 Disk 2 Disk 3 Disk 4 Disk 5 Stripe 1 Stripe 2 Stripe 3 Block 1 Block 5 Block 9 Block 2 Block 6 Block 10 Block 3 Block 7 Parity 9-12 Block 4 Parity 5-8 Block 11 Parity 1-4 Block 8 Block 12 RAID 5 outperforms RAID 1 for read operations. The write performance, however, may be slower than RAID 1, especially if most writes are small and random. For example, to change Block 1 in the diagram above, the HP NetRAID Series adapter must first read Blocks 2, 3, and 4 before it can calculate Parity Block 1-4. Once it has calculated the new Parity Block 1-4, it must write Block 1 and Parity Block 1-4. RAID 5 Advantages There is no data loss or system interruption due to disk failure, because if one disk fails, data can be rebuilt. Capacity equivalent to only one disk in the RAID 5 logical drive is reserved to store redundant data. RAID 5 outperforms RAID 1 for read operations. RAID 5 gives good performance if you have a high volume of small, random transfers. RAID 5 Disadvantages Write performance is slower than RAID 0 or RAID 1. RAID 5 Summary Choose RAID 5 if cost, availability, and performance are equally important. RAID 5 performs best if you have I/O-intensive, high read/write ratio applications such as transaction processing. 19

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177

Chapter 2
RAID Overview
19
RAID 5: Striping with Distributed Parity
RAID 5 is the most common configuration because it provides good overall
performance and data protection with a minimum loss of storage capacity.
RAID 5 distributes the parity blocks equally among all disk drives to achieve
better overall performance than if a dedicated parity disk is used (RAID 3). If you
have five physical drives configured as one RAID 5 logical drive, data blocks are
written as follows:
Disk 1
Disk 2
Disk 3
Disk 4
Disk 5
Stripe 1
Block 1
Block 2
Block 3
Block 4
Parity 1-4
Stripe 2
Block 5
Block 6
Block 7
Parity 5-8
Block 8
Stripe 3
Block 9
Block 10
Parity 9-12
Block 11
Block 12
RAID 5 outperforms RAID 1 for read operations. The write performance,
however, may be slower than RAID 1, especially if most writes are small and
random. For example, to change Block 1 in the diagram above, the HP NetRAID
Series adapter must first read Blocks 2, 3, and 4 before it can calculate Parity
Block 1-4. Once it has calculated the new Parity Block 1-4, it must write Block 1
and Parity Block 1-4.
RAID 5 Advantages
There is no data loss or system interruption due to disk failure, because if one
disk fails, data can be rebuilt.
Capacity equivalent to only one disk in the RAID 5 logical drive is reserved to
store redundant data.
RAID 5 outperforms RAID 1 for read operations.
RAID 5 gives good performance if you have a high volume of small, random
transfers.
RAID 5 Disadvantages
Write performance is slower than RAID 0 or RAID 1.
RAID 5 Summary
Choose RAID 5 if cost, availability, and performance are equally important.
RAID 5 performs best if you have I/O-intensive, high read/write ratio
applications such as transaction processing.