TechnicalSilly Question

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Ken (SHIELDSIT)  
 To:  ALL
41647.1 
Can someone here do the maths (good God, what have I become?) and tell me how much worse a 2 drive RAID-0 array is vs separate dual drives? I almost had myself talked into it being no different, but I now realize that's not true, but I don't know how much difference there is!

Thanks smart peeps.

** Here's a softball for you PB!
------------------------------------------------------------------------
If you don't like donut, then leave it alone. Nobody force you to eat it.
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  Ken (SHIELDSIT)     
41647.2 In reply to 41647.1 
Define "worse". RAID 0 is supposed to increase data throughput. YMMV, depending on various factors.

https://en.m.wikipedia.org/wiki/Standard_RAID_levels#Performance

----
Hippie beards yes. Hipster beards no.
0/0
 Reply   Quote More 

 From:  Ken (SHIELDSIT)  
 To:  CHYRON (DSMITHHFX)     
41647.3 In reply to 41647.2 
Without rereading what I wrote, I mean failure rates.  How much faster will a raid 0 array fail over a single drive failing?  Is it 50% faster due to doubling the drives?
------------------------------------------------------------------------
If you don't like donut, then leave it alone. Nobody force you to eat it.
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  Ken (SHIELDSIT)     
41647.4 In reply to 41647.3 
I don't believe the failure rate of the hardware is increased, but the risk of data loss is doubled (failure of either drive = total data loss).

----
Hippie beards yes. Hipster beards no.
0/0
 Reply   Quote More 

 From:  Ken (SHIELDSIT)  
 To:  CHYRON (DSMITHHFX)     
41647.5 In reply to 41647.4 
Correct, loss of data is what I was meaning.  So there is no funky formula? It's just a straight up 50% increase?
------------------------------------------------------------------------
"If you don't like donut, then leave it alone. Nobody force you to eat it."
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  Ken (SHIELDSIT)     
41647.6 In reply to 41647.5 
Does this help?

Me

Attachments:

0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  Chris (CHRISSS)     
41647.7 In reply to 41647.6 
I was going to say that, but I didn't want to take Ken away from the drone snowplow project.

----
Hippie beards yes. Hipster beards no.
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  Ken (SHIELDSIT)     
41647.8 In reply to 41647.5 
Probably more highly influenced by brand/model/age of drive(s) than anything else. Let's say you have a brand-new hdd with a statistical 4% failure rate (I think this is fairly common among consumer-grade hdds -- the rate goes up with age). If you have another 'identical' drive coupled with the first in RAID 0, you now have a statistical failure rate of 8%. Complicated by the fact that it is much easier to recover some or all data from a failing single drive, than from a failed RAID 0.

If you want some of the performance boost of RAID 0 with the redundancy of RAID 1, use RAID 1+0 (aka RAID 10), at the expense of ½ the total hdd capacity.

IANA mathematician, this is just some half-remembered shit I read somewhere a year ago.

----
Hippie beards yes. Hipster beards no.
0/0
 Reply   Quote More 

 From:  graphitone  
 To:  CHYRON (DSMITHHFX)     
41647.9 In reply to 41647.8 
Quote: 
If you want some of the performance boost of RAID 0 with the redundancy of RAID 1, use RAID 1+0 (aka RAID 10), at the expense of ½ the total hdd capacity

Aye, a mirrored stripe. Does that mean 4 drives, or is there a more efficient way of doing things?
 

0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  graphitone     
41647.10 In reply to 41647.9 
Apparently it can be done with only two:

https://en.wikipedia.org/wiki/Nested_RAID_levels#RAID_10_.28RAID_1.2B0.29

----
Hippie beards yes. Hipster beards no.
0/0
 Reply   Quote More 

 From:  Ken (SHIELDSIT)  
 To:  ALL
41647.11 
I knew there was fucking goofy math involved with this.  I'll shamelessly steal this from Tom's Hardware and assume the people who chose this as the correct answer are smarter than I am, not hard to be...
 
Quote: 
It is more dangerous than a single drive. But as-per the people before me, not by a huge amount. The odds of a failure are 1−(1−r)^n (Thanks Wikipedia) Where r is the failure rate, and n is the number of drives.

That is, if a drive has a 1 in 100 chance of failing, 1 drive: 1-(.99)^1 = 1% chance of failing, 2 drives: 1-(.99)^2 = ~2%
3 : ~3%

What if the failure rate were higher? I don't know the odds of a given disk failing, ask Google for those numbers. 1 : 5%, 2: 9.75%, 3: ~14.3%

My math could be wrong, but I blame Wikipedia. It seems right to me. As you can see, you really start gambling when you get to higher storage levels. If you are alright with risking losing everything (other than what is already backed up) I say go for it. Personally, I am all HDD, no RAID. Don't have the money to spend on SSDs, especially since I just don't need that performance yet.
 


 
------------------------------------------------------------------------
"If you don't like donut, then leave it alone. Nobody force you to eat it."
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  Ken (SHIELDSIT)     
41647.12 In reply to 41647.1 
I do RAID-Z :<
0/0
 Reply   Quote More 

 From:  Ken (SHIELDSIT)  
 To:  Peter (BOUGHTONP)     
41647.13 In reply to 41647.12 
So do I on a few systems, like my file servers, but you can do the math!
------------------------------------------------------------------------
"If you don't like donut, then leave it alone. Nobody force you to eat it."
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  Ken (SHIELDSIT)     
41647.14 In reply to 41647.13 
You already did the maths for me?
0/0
 Reply   Quote More 

 From:  Ken (SHIELDSIT)  
 To:  Peter (BOUGHTONP)     
41647.15 In reply to 41647.14 
Do you agree with that formula?
------------------------------------------------------------------------
"If you don't like donut, then leave it alone. Nobody force you to eat it."
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  Ken (SHIELDSIT)     
41647.16 In reply to 41647.15 
If disk failure is relevant, RAID-0 is the wrong answer.

If you're asking from academic interest, you'd need to consider whether striping across disks increases or decreases the likelihood of failure due to different read/write behaviour. (I don't know what the contributing factors to a disk failing are - i.e. is it purely random, actively increased by use, etc.) That formula doesn't include any such parameters; it may well be an approximation of something that does. I don't see on the linked Wikipedia page where the poster apparently sourced it from, so it's currently just a way to produce a number slightly less than directly multiplying the failure rate by number of drives.

0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  Peter (BOUGHTONP)     
41647.17 In reply to 41647.16 
Disks can fail in several ways: bearings, actuators, surfàce, PCB. The failure rate increased dramatically after the flooding in Thailand destroyed many mfg facilities, leading to speculation that flood-damaged parts continued to be used. Outside of production servers, the main factors influencing failure rates appears to be make, model and even batch. Some guy running a cloud service periodically publishes failure stats on assorted makes and models.

----
Hippie beards yes. Hipster beards no.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  CHYRON (DSMITHHFX)     
41647.18 In reply to 41647.17 
Indeed they do

https://www.backblaze.com/blog/hard-drive-reliability-q3-2015/
0/0
 Reply   Quote More 

 From:  Dave!!  
 To:  Ken (SHIELDSIT)     
41647.19 In reply to 41647.1 
Another important question these days is the capabilities of the drives and the controller (most controllers do share the bandwidth to some degree between the SATA ports), and why using solid state drives isn't an option. For example, striping mechanical hard drives will almost always still provide poorer performance than a single SSD. Especially seeing as modern SSDs can easily saturate a 6Gb SATA link. For ultimate performance, you'd connect a fast SSD to either a SATA Express port, or a bespoke PCIe controller.

I just can't help but think that RAID-0 is a lot more redundant these days than it used to be. Faster performance, increased risk of data loss, 2 drives required, or just slap a fast SSD in instead. Unless of course you need lots and lots of storage, and even then you can now get 1TB SSDs for less than £60...
---

 
0/0
 Reply   Quote More 

Reply to All    
 

1–19

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats