Tom's Hardware > Forum > Storage > General Storage > RAID 0,5, or 6 for gaming?
Word :    Username :           
 

Ok, I understand that RAID 0 is the current way to go for fast loading times in games... but what about RAID 5 or 6? I currently have a DFI lan party mobo with an integrated RAID 5 controller, and I have no idea if it's worth hooking up. I guess my main question is this:

Is RAID 5 or 6 using 3 hard drives any faster than RAID 0 using 2 of those same hard drives? (read speed)

Sponsored Links
Register or log in to remove.
- 0 +

i use two raptors in raid O and i load almost first every time in BF2 sometimes i loads so fast that i can cap a flag before the next guy even gets to spawn :wink: i think a other point is sys mem 2 gigs so maps stay in mem, not sure but i noticed a great leap when i swaped it to 2gigs

Reply to 222Doc

RAID5 or 6 provides you redundancy so that if a disk fails you don't lose all your data. The downside is that if you RAID5 3 disks you lose one disk as storage capacity and each write cycle has to write additional parity information.

Stick with RAID0 ....

Reply to hubbardt

RAID 5 can allow reads from all spindles simultaneously, so 3 spindles in RAID 5 will have better performance of two in RAID 0, as well as redundancy. This assumes high quality HW RAID implementation, SW or cheapo implementation won't get you the full performance gains.

During small random reads there is a chance that you will not get your performance increase, if you are reading random individual blocks you will read from all spindles -1, which would put you on par with RAID 0 with two drives. Generally you won't notice this condition, if block sizes are 64K the read from 2 spindles would be so fast you wouldn't notice the decrease in speed.

RAID 6 is just RAID 5 with extra parity, the theory being it can withstand multiple simultaneous failures. Can't do RAID 6 with 3 drives, and you obviously aren't too concerned with data integrity.

Depending on the brand and quality of your RAID controller, RAID 5 should be noticably faster than RAID 0. You also get redundancy, a HD failure won't phase you. But, cheap implementations might actually be slower due to added overhead, and you will have to buy an additional drive.

Reply to mr_fnord

Quote :

RAID 5 can allow reads from all spindles simultaneously, so 3 spindles in RAID 5 will have better performance of two in RAID 0, as well as redundancy. This assumes high quality HW RAID implementation, SW or cheapo implementation won't get you the full performance gains.

During small random reads there is a chance that you will not get your performance increase, if you are reading random individual blocks you will read from all spindles -1, which would put you on par with RAID 0 with two drives. Generally you won't notice this condition, if block sizes are 64K the read from 2 spindles would be so fast you wouldn't notice the decrease in speed.

RAID 6 is just RAID 5 with extra parity, the theory being it can withstand multiple simultaneous failures. Can't do RAID 6 with 3 drives, and you obviously aren't too concerned with data integrity.

Depending on the brand and quality of your RAID controller, RAID 5 should be noticably faster than RAID 0. You also get redundancy, a HD failure won't phase you. But, cheap implementations might actually be slower due to added overhead, and you will have to buy an additional drive.



Thank you, that is exactly the information I was looking for... It did, however, spawn 2 more questions in my mind:

1) How can I identify a good RAID 5 controller?
(Is the one on my DFI lanparty UT good enough?)

2) Can I get a performance bottleneck if I don't go with SATA2?
(or does each drive just use it's own bandwidth?)

Currently I'm using a single 74Gb Raptor, and from what I understand, in RAID 0 they can flood the SATA bandwidth on large data transfers.

Reply to simplyput
- 0 +

Ya
RAID 5 is a big investment.
$200 for the controller PLUS 3+ drives.

I will personally get ONE good Raptor drive for the OS, Games, etc.
Then add the RAID 5 for just storage.
If the Raptor crashes, just re-install everything from CDs since all the data is still safe in the RAID 5 array.

Reply to enewmen

No no no. You're so half-right that you're wrong.

Quote :

RAID 5 can allow reads from all spindles simultaneously



So does RAID 0.

Quote :

3 spindles in RAID 5 will have better performance of two in RAID 0



Not true. At most you get the same performance since only 2 spindles are used to hold data while the third holds a error-correcting check. You generally get slightly worse on reads because of the overhead of the calculations for the third drive. Writes to a RAID 5 are almost always slower since you have to generate the error-correction, so it depends on your controller. Add-in controllers are faster than built-in motherboard controllers.

Quote :

Depending on the brand and quality of your RAID controller, RAID 5 should be noticably faster than RAID 0


No it won't. If you have RAID 0 all drives are used for data so you get about the number of drives times the speed of a single drive; but for RAID 5 you get the number of drives minus one times the speed of a single drive, so reads are slower for the same number of drives. Also writes are significantly slower, depending on the controller because the controller has to create the extra drive's correction codes.

If gaming speed is your only concern, stick with RAID 0. However, multiple drives mean that one drive failure out of the set will cause the whole array to fail. For example, if you have a 1% chance of failure per drive, four drives in RAID 0 will give you 99%^4 chance of no failure = almost 4% chance of failure instead of 1%. However, with four drives in RAID 5 you need two drives to fail, meaning that your chance of failure means about 1/100 of 1% (= 0.0001) of simultaneous failure times 6 ways to fail means 99.99%^6 or about a .06% chance of loss of the whole array. .06% vs 4% means a factor of 67 difference in reliability in this case for RAID 5 vs RAID 0.

So I'd say, if you have only 2 drives in RAID 0, and you use the RAID only for non-critical data, your drive setup is probably okay. If you're using more drives, consider RAID 5. You won't get the maximum speed, but you won't lose everything to a single crashed hard drive.

--dv

Reply to svyerkgeniiy

Quote :

1) How can I identify a good RAID 5 controller?
(Is the one on my DFI lanparty UT good enough?)



Look for reviews on the net. Tom's recently did a review. In general add-in cards are better than built-in motherboard controllers; Areca seems to be testing out to be the best. But the tend to be pricey, from $200 for a 4-drive board and on up from there. Areca's 4-drive controller is about $350 direct.

You on board controller is probably okay for RAID 0, but the onboard ones tend to lose out more for more complex forms of RAID (like 5).

Quote :

2) Can I get a performance bottleneck if I don't go with SATA2?
(or does each drive just use it's own bandwidth



Depends on the controller. PCI controllers are limited by bus bandwidth; to get the full benefit you really need PCI-X 64-bit connectors at 66 MHz for large arrays. PCI-e are better but require newer motherboards and are harder to find. On board controllers depend on how they transfer the data around, though I'm unsure what internal connections they use. SATA2 vs SATA shouldn't be a problem as long as the drives go through the controller; that's where the data rate will be limited. Single drives have a hard time flooding even a SATA1 bandwidth, but if that's all the controller uses for output, then maybe a RAID 0 array will flood the output.

--dv[/quote]

Reply to svyerkgeniiy
- 0 +

Quote :

2) Can I get a performance bottleneck if I don't go with SATA2?
(or does each drive just use it's own bandwidth?)

So there are two answers to this, depending on what exactly you meant.

The first is no, not really, in practical sense anyway. Each SATA device is given a dedicated link, and so they aren't sharing the 1.5 Gbps. So, with current drives, the link will rarely be saturated for a significant period.

The other answer is, yes, the drives may saturate other buses as svyerkgeniiy indicated, but the situation is no different whether you're using SATA 1.5 Gbps or SATA 3.0 Gbps, since the bottleneck isn't between the controller and the disk. So really, no.

(edit: typo)

Reply to psyno

Quote :

2) Can I get a performance bottleneck if I don't go with SATA2?
(or does each drive just use it's own bandwidth



Depends on the controller. PCI controllers are limited by bus bandwidth; to get the full benefit you really need PCI-X 64-bit connectors at 66 MHz for large arrays. PCI-e are better but require newer motherboards and are harder to find. On board controllers depend on how they transfer the data around, though I'm unsure what internal connections they use. SATA2 vs SATA shouldn't be a problem as long as the drives go through the controller; that's where the data rate will be limited. Single drives have a hard time flooding even a SATA1 bandwidth, but if that's all the controller uses for output, then maybe a RAID 0 array will flood the output.

--dv

Ok, let me try this I have a DFI Lanparty UT nF4 SLi-D mobo. It has integrated SATA and SATA2 controllers, as well as integrated RAID
0, 1, 0+1, and 5.

Now the main thing I'm looking for is read performance so I can eliminate long loading times. Like I said, this is going to be used mainly for gaming. I'm not too worried about HD failure (should I be, does it happen often enough?). So the questions I have now are:

1) Where is the first bottleneck to read time going to occur?
-SATA bandwidth? -the chipset? -RAID controller? (I have no idea)

2) Is there a RAID 4 or some other form of RAID that allows for redundancy and multiple spindle reads without any error check? (A gaming RAID, if you will)

3) How big of a difference will I see in the read speed of a software RAID 5 controller vs a hardware one?

Reply to simplyput
- 0 +

Quote :

1) Where is the first bottleneck to read time going to occur?
-SATA bandwidth? -the chipset? -RAID controller? (I have no idea)

The first and biggest bottleneck is from the physical medium to the electronic state.

Quote :

2) Is there a RAID 4 or some other form of RAID that allows for redundancy and multiple spindle reads without any error check? (A gaming RAID, if you will)

Every RAID mode does multiple spindle reads, and every RAID mode but RAID 1 stripes data in some fashion. Parity checks are generally done on writes, not reads. If you're not interested in redundancy go RAID 0. If you are interested in redundancy but you're worried about slow read performance because of the error checking, then it's something you need to worry about at the controller level and not at the RAID level (pun more or less intended). This isn't to say that different RAID levels don't have different read performances, just that from the theoretical properties of RAID, it's not the redundancy check that kills you on the read, regardless of the level.

Reply to psyno

I think we are getting a bit too complicated here ! :wink:

RAID0 is for power gamers who want fast loading times
RAID1 is a waste for home users tbh. too much redundancy
RAID5 is too expensive for home use

RAID1 and RAID5 provide redundancy incase of disk failure. If you are that concerned about drive failure, buy a DVD/tape backup solution

nuff said

8)

Reply to hubbardt

2 SSD's in raid0, untouchable!!!!!!!!

Reply to lostny11
- 0 +

svyerkgeniiy wrote :


Quote :

3 spindles in RAID 5 will have better performance of two in RAID 0



Not true. At most you get the same performance since only 2 spindles are used to hold data while the third holds a error-correcting check. You generally get slightly worse on reads because of the overhead of the calculations for the third drive. Writes to a RAID 5 are almost always slower since you have to generate the error-correction, so it depends on your controller. Add-in controllers are faster than built-in motherboard controllers.



The parity portions are spread out on the spindles evenly in a RAID 5 setup, so you do get the increased read speed from all the drives (theres not one "backup drive" ). The parity portions are only used during writing or data recovery, so that shouldn't lower read speed. The redundancy will make you lose 1 disc in space though, and writing will almost certainly take longer.

Reply to rook512

svyerkgeniiy wrote :

No no no. You're so half-right that you're wrong.

Quote :

RAID 5 can allow reads from all spindles simultaneously



So does RAID 0.

Quote :

3 spindles in RAID 5 will have better performance of two in RAID 0



Not true. At most you get the same performance since only 2 spindles are used to hold data while the third holds a error-correcting check. You generally get slightly worse on reads because of the overhead of the calculations for the third drive. Writes to a RAID 5 are almost always slower since you have to generate the error-correction, so it depends on your controller. Add-in controllers are faster than built-in motherboard controllers.

Quote :

Depending on the brand and quality of your RAID controller, RAID 5 should be noticably faster than RAID 0


No it won't. If you have RAID 0 all drives are used for data so you get about the number of drives times the speed of a single drive; but for RAID 5 you get the number of drives minus one times the speed of a single drive, so reads are slower for the same number of drives. Also writes are significantly slower, depending on the controller because the controller has to create the extra drive's correction codes.

If gaming speed is your only concern, stick with RAID 0. However, multiple drives mean that one drive failure out of the set will cause the whole array to fail. For example, if you have a 1% chance of failure per drive, four drives in RAID 0 will give you 99%^4 chance of no failure = almost 4% chance of failure instead of 1%. However, with four drives in RAID 5 you need two drives to fail, meaning that your chance of failure means about 1/100 of 1% (= 0.0001) of simultaneous failure times 6 ways to fail means 99.99%^6 or about a .06% chance of loss of the whole array. .06% vs 4% means a factor of 67 difference in reliability in this case for RAID 5 vs RAID 0.

So I'd say, if you have only 2 drives in RAID 0, and you use the RAID only for non-critical data, your drive setup is probably okay. If you're using more drives, consider RAID 5. You won't get the maximum speed, but you won't lose everything to a single crashed hard drive.

--dv


Good for you to correct the previous misconception. I knew it was wrong as soon as I read it. So you saved me the trouble of a response. You know the probability theory better than I do, however. I am planning to install three Hitachi 2 GB 7200 RPM hard drives in Raid 5 on my new system. I am going to use a SSD for the operating system and application programs. Maybe later on, when the price of SSDs come down, I will consider three SSDs in Raid 5. But only if the Trim function works in Raid configuration.

Reply to shanghaied
- 0 +

shanghaied wrote :

Maybe later on, when the price of SSDs come down, I will consider three SSDs in Raid 5. But only if the Trim function works in Raid configuration.

The jury is, I think, still out on this one yet - but the general consensus seem to be that redundancy protection for SSDs is much less important than for hard disks. SSDs are not prone to data loss - their most common failure mode is the inability to write new data. Thus, the theory goes, it should be easy to recover the data off a "failed" SSD.

That having been said, for a high-uptime configuration failure to write data may be just as critical. And, I have to imagine that a failure to write data at the wrong time and place (during a file system metadata update) could render at least some data unreadable, or at least a lot harder to access without recovery tools.

Reply to sminlal

Now that I think about it, I believe I recall SSDs have some sort of built-in error correction already, so it would not make sense to put SSDs into a RAID 5 configuration.

Reply to shanghaied

Actually, after reading additional material, I think RAID 10 is the way to go for both performance and redundacy, but a little expensive. Disk drives are pretty cheap these days. But most likely I will just install RAID 0 for my hard drives and perform backups on left-over external disk drives just like I do now.

Reply to shanghaied
- 1 +

Wow - thread necromancy alert...

------------------------------ Asus P6T deluxe
i7 965 @ 4.2GHz (200*21), 1.384V
12GB Corsair Dominator DDR3-1600 CAS 7
Reply to cjl

shanghaied wrote :

Good for you to correct the previous misconception. I knew it was wrong as soon as I read it. So you saved me the trouble of a response. You know the probability theory better than I do, however. I am planning to install three Hitachi 2 GB 7200 RPM hard drives in Raid 5 on my new system. I am going to use a SSD for the operating system and application programs. Maybe later on, when the price of SSDs come down, I will consider three SSDs in Raid 5. But only if the Trim function works in Raid configuration.



shanghaied wrote :

Good for you to correct the previous misconception. I knew it was wrong as soon as I read it. So you saved me the trouble of a response. You know the probability theory better than I do, however. I am planning to install three Hitachi 2 GB 7200 RPM hard drives in Raid 5 on my new system. I am going to use a SSD for the operating system and application programs. Maybe later on, when the price of SSDs come down, I will consider three SSDs in Raid 5. But only if the Trim function works in Raid configuration.




Yes, you are definately right about Raid 0 being faster (especially with write speeds), and also allows for more storage space. In other words:

Raid 0 speed = (speed of one drive) x (number of drives in array) [usually not quite this fast]
Raid 5 speed = a bit less than raid 0 on read (due to complexity); much slower on write (due to parity)

Raid 0 failure rate = (failure rate one drive) x (number of drives)
Raid 5 failure rate = approximately zero

In fact svyerkgeniiy was a little off in probablity of failure rates above, raid 5 is even more reliable than he states. In his example, if you were to have a 1% chance of failure per drive (assuming he means over an average lifespan of around 2 years), then for normal drives you have a 1% chance data loss. For raid 0 with 3 drives you have a 3% chance.

With raid 5, you have (3% chance for one drive to fail) x (chance that a second drive fails BEFORE YOU REPLACE THE FIRST DRIVE) which is a very low chance. So if you assume it takes you a day to replace the drive (or backup data), the raid 5 failure rate would be 3% x [2%/(365x2)] = 0.00008% chance of data loss. So raid 5 would actually be 36500 times more reliable than raid 0.

So my point is that raid 5 (or pretty much any redundant raid array) not only makes data loss unlikely, it makes it virtually impossible (this is only for data loss from hard disk failure however).

Overall, raid 0 with 3 drives is super fast yet somewhat risky, raid 5 with 3 disks is kinda fast but very reliable. I actually prefer raid 0, its worth the speed! (just backup your important files elsewhere)

Reply to AshcanPete
Tom's Hardware > Forum > Storage > General Storage > RAID 0,5, or 6 for gaming?
Go to:

There are 1259 identified and unidentified users. To see the list of identified users, Click here.

Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them