Buy the ARP T-Shirt! BIOS Optimization Guide Money Savers!
 
 04 July 2009
 N/A
  N/A
 Tweaks
 Ken Ng
 2.0
 Discuss here !
 112945
 
   
BIOS Option Of The Week - ISA Shared Memory
Since 1999, we have been developing the BIOS Optimization Guide, affectionately known... Read here
Hard Disk Drive Myths Debunked Rev. 5.1
This guide was written in response to the numerous fallacies about the hard disk driv... Read here
   
Buy The BOG Book Subscribe To The BOG! Latest Money Savers!
RAID Optimization Guide Rev. 2.0
Digg! Reddit!Add to Reddit | Bookmark this article:

RAID 5

Parity, by definition, is integrity of transmitted data. How is that possible?

To ensure integrity of the transmitted data, n amount of data is put through a simple parity calculation to come up with its parity data. With this parity data, any damaged data can be repaired by using the parity data along with other undamaged data. Confused? Well, here's an example to show you how it is done.

XOR Truth Table

Input 1

Input 2

Output

0

0

0

0

1

1

1

0

1

1

1

0

First, let's take a look at the most important element of the parity calculation - the XOR (exclusive OR) logical expression. XOR is used mainly because it has a very interesting effect. Okay, let's say that A = '10' and B = '11'.

Parity = A XOR B = '01'

Now, let's say that A gets corrupted. Here's how we regenerate A from the parity data and B :

A = Parity XOR B = '10'

Amazingly simple, isn't it? You have just witnessed the 'Undo' property of XOR. And this isn't only limited to two operands. Try using as many operands as you like and you will still get the same effect!

So, using XOR allows us to achieve data 'redundancy' by using only an extra hard disk drive. The restoration of data would only require the RAID controller to do some simple calculations to retrieve the original data of the damaged drive.

However, if two or more drives die at the same time, you won't be able to rebuild the array. RAID 5 only provides data recovery for single drive failures. Then again, the probability of having two drives failing at the same time is very low.

There is also another disadvantage of RAID 5. This time, it's related to parity itself. While calculating a single XOR operation is fairly simple, you have to remember that these simple calculations have to be computed each and every time any bit of data is changed on any of the hard disk drive sin the array. This could literally mean that millions of XOR operations have to be computed every second!

That takes a lot of computing power, which is why most RAID 5 implementations use a dedicated processor to handle the parity calculations. You can actually do software RAID 5 but be warned that your system will end up calculating parity more than doing any real work!

Clearly, RAID 5's advantages outweighs its disadvantages. That's why RAID 5 is one of the most popular solutions used by many major corporations all over the world today.

Note : RAID 5 is not available in the Promise FastTrak100 ATA RAID card. Rather, it is available on the higher-end Promise SuperTrack series.

 

Support Tech ARP!

If you like our work, you can help support out work by visiting our sponsors, participate in the Tech ARP Forums, or even donate to our fund. Any help you can render is greatly appreciated!

Page

Topics

1

Introduction, Consumer RAID Solutions

2

What's RAID All About?

3

RAID 0

4

RAID 1

5

RAID 0+1, JBOD, What's This RAID 5?

6

RAID 5

7

Testing RAID Performance

8

Sisoft Sandra Benchmark Results Page 1

9

Sisoft Sandra Benchmark Results Page 2

10

Sisoft Sandra Benchmark Results Page 3

11

WinBench 99 Benchmark Results Page 1

12

WinBench 99 Benchmark Results Page 2

13

WinBench 99 Benchmark Results Page 3

14

WinBench 99 Benchmark Results Page 4

15

WinBench 99 Benchmark Results Page 5

16

HDTach Benchmark Results Page 1

17

HDTach Benchmark Results Page 2

18

HDTach Benchmark Results Page 3

19

HDTach Benchmark Results Page 4

20

HDTach Benchmark Results Page 5

21

HDTach Benchmark Results Page 6

22

Conclusion & Recommendations



 
   
Windows Vista & Windows Server 2008 Service Pack 2 FAQs
NVIDIA GeForce 9600 GSO to NVIDIA GeForce 8800 GTS 512MB Mod Guide
Intel Desktop CPU Roadmap @ June, 2008
Western Digital 1 TB Caviar GP Serial ATA Hard Drive Review Rev. 2.0
Camcorder Buying Guide Parts 1 & 2
ATI R600 : What It Means To Us
Nokia 5300 XpressMusic Mobile Phone Review
Arctic Cooling Accelero X1 Graphics Card Cooler Review
Seagate 5GB Pocket Hard Drive Review Rev. 2.0
New Hewlett-Packard iPAQ Pocket PCs

 
 


Copyright © Tech ARP.com. All rights reserved.