RAID 1 vs RAID 10

Dr. McKay

Well-known member
Joined
Nov 26, 2016
Messages
343
Best answers
0
Ratings
22
Points
18
#1
How well do RAID 1 and RAID 10 compare performance wise?

I am checking these shared hosting offers
Code:
https://forumweb.hosting/14347-7€-year-gt-cpanel-ssd-cloudlinux-litespeed-free-ssl-unmeterd-ddos-protection-gt-30-off.html
https://forumweb.hosting/14386-new-year-offer!-75-off-on-all-shared-hosting-plans-limited-period-offer-!!.html
https://forumweb.hosting/14468-30-lifetime-discount!-ssd-web-hosting-from-localnode-cpanel-softaculous-cloudlinux.html
They are mentioning to RAID 10 but there are a lot of companies use RAID-1, I can't decide which would be best for a web server. What is your opinion?
 

R Langley

Well-known member
Joined
Dec 12, 2016
Messages
205
Best answers
0
Ratings
17
Points
0
#2
How well do RAID 1 and RAID 10 compare performance wise?

I am checking these shared hosting offers
Code:
https://forumweb.hosting/14347-7€-year-gt-cpanel-ssd-cloudlinux-litespeed-free-ssl-unmeterd-ddos-protection-gt-30-off.html
https://forumweb.hosting/14386-new-year-offer!-75-off-on-all-shared-hosting-plans-limited-period-offer-!!.html
https://forumweb.hosting/14468-30-lifetime-discount!-ssd-web-hosting-from-localnode-cpanel-softaculous-cloudlinux.html
They are mentioning to RAID 10 but there are a lot of companies use RAID-1, I can't decide which would be best for a web server. What is your opinion?
RAID 10 is actually raid 1+0 it requires 4 disks and basically mirrors the data so RAID10 would be best for hosting because the data is always retrievable.
 

LJSHost

Well-known member
Joined
Jul 5, 2016
Messages
1,031
Best answers
0
Ratings
202
Points
63
#3
Raid10 is best but also the most expensive to implement for the hosting provider. Simply put Raid10 is the best mix of speed, performance and data protection.
 
Joined
Dec 28, 2016
Messages
64
Best answers
0
Ratings
30
Points
0
#4
Here is how they look behind the scenes:

150px-RAID_0.svg.png
In Raid 0, Data is actually striped. Which means its broken up and written to 2 disks simultaneously. This will give very fast write speeds but in the event one disk fails, you're done, all data gone.


150px-RAID_1.svg.png
In Raid 1, Data is mirrored/copied into 2 disks. This is slower than Raid 0 but data is more redundant that is if one drive fails, you still have your data.


RAID_10_01.svg.png
Raid10 is a combination of Raid 1 + 0. (The image is incorrect, its supposed to be first 1 and then 0) Which means data is first striped and then mirrored. Here, point of failure is not a single one like Raid 0, so you have more redundancy. This is like best of both worlds.

RAID1 IOPS = RAID10 IOPS for the same number of disks. See this for performance test.
 
Last edited:
Joined
May 29, 2017
Messages
49
Best answers
0
Points
0
#23
Denis // trabia
The image does show that first it's mirroring then (a level above) is striping. Here is a picture of a RAID 01 configuration:



Courtesy of this article
Also the mentioned article says that "RAID 10 provides better fault resilience and rebuild” performance than RAID 01." so most people don't use 01 as a rule.
 

Attachments

RDO Servers

Well-known member
Joined
Apr 3, 2015
Messages
1,027
Best answers
1
Ratings
416 3
Points
83
#5
As others have mentioned, RAID 10 will give better disk performance due to the drives being stripped. (Data can be read from 2 drives simultaneously, rather then reading all data from a single drive)

Even comparing 2 hosts that offer RAID 10, may not be the same.
If host A has 4 a RAID array of 4 drives, but Host B has a RAID array of 24 drives, there will (potentially) be a big different in performance.


However, keep in mind that this is only 1 of the many factors that that effect web server performance.
 
Joined
Dec 27, 2016
Messages
62
Best answers
0
Ratings
4
Points
0
#6
Definitely raid 10.It gives you two extrra drives for backup or whatever youds like.
 

Maxoq

Well-known member
Joined
Feb 25, 2015
Messages
333
Best answers
0
Ratings
38 1
Points
28
#7
Maxoq
What are two extra drives for backups? I am using raid 10 but I don't see this feature when bought the plan from my provider.
 

RDO Servers

Well-known member
Joined
Apr 3, 2015
Messages
1,027
Best answers
1
Ratings
416 3
Points
83
#8
RDO Servers
RAID 10 does not give you 2 backup drives.

In a RAID 10 array, your OS will see the array as a single drive.

All data will get saved to drive 1 & 2.
Drives 1 & 2 will be mirrored (exact copy) on drives 3 & 4.

If drive 1 fails, your system stays online because it can still use the data mirrored to drive 3.

However, this should NOT be considered a 'backup' of your data. This is simply drive redundancy to keep your server online while you replace drive 1.

It is possible to have cascading drive failures on a array, causing you to loose the live and mirrored at the same time.

Your backup should be to a different server, preferably in a different data center. Ideally you should have a backup in the same DC (for faster restores) and a backup off-white (in case of total DC outage)
 

Laurence Flynn

Well-known member
Joined
Dec 31, 2016
Messages
92
Best answers
0
Ratings
24
Points
8
#9
The dearth of knowledge in this thread is staggering.

RAID 1 has the same performance as RAID 10? My head hurts.

RAID 1: Mirrored drives. Data is therefore written to (and read from) 2 drives.
RAID 10: Striped and mirrored drives. Data is written in (and read from) stripes across 4 drives (in a minimum 4 drive array).

RAID 10 has DOUBLE the IOPs of RAID 1. RAID 10 is twice as fast. The array can also handle 2 drive failures compared to RAID 1's one drive resilience. This is well documented and it's a fact.
 

Laurence Flynn

Well-known member
Joined
Dec 31, 2016
Messages
92
Best answers
0
Ratings
24
Points
8
#12
4 Disk RAID 1 is not RAID 10. Using RAID 1 on 4 drives has no striping so if you have 4*500gb you end up with 2*500gb which can't be mounted together and you need 2 controllers. 4 Drives in RAID 1 is simply 2 x RAID 1.

How someone can be in the hosting business and say that (a) RAID 1 and RAID 10 have the same speed and performance and (b) you can put more than 2 drives in RAID 1?

This forum is weird. WHT has its issues but at least there people don't spread misinformation and lies.

BRB buying a 4 drive RAID 1 server from @EcommIndiaCloudIT with the same IOPs as RAID 10
 

RDO Servers

Well-known member
Joined
Apr 3, 2015
Messages
1,027
Best answers
1
Ratings
416 3
Points
83
#13
Reminder to all:

All members are to conduct themselves professionally. Resulting to personal insults or name calling will not be tolerated.
 
Joined
Dec 28, 2016
Messages
64
Best answers
0
Ratings
30
Points
0
#14
All members are to conduct themselves professionally. Resulting to personal insults or name calling will not be tolerated.
Thank you, I was about to report this name calling. its there on each of Laurence Flynn's reply.

4 Disk RAID 1 is not RAID 10. Using RAID 1 on 4 drives has no striping so if you have 4*500gb you end up with 2*500gb which can't be mounted together and you need 2 controllers. 4 Drives in RAID 1 is simply 2 x RAID 1.
How someone can be in the hosting business and say that (a) RAID 1 and RAID 10 have the same speed and performance and (b) you can put more than 2 drives in RAID 1?
This forum is weird. WHT has its issues but at least there people don't spread misinformation and lies.
Well I guess its very evident to everyone now that you have never really worked with RAID optimization depending on File Size use cases neither believe in the existence of software RAID nor do you know anything about RAID groups or parity groups. It's quite laughable that you think RAID1 can't be more than 2 disks. I mean seriously! LOL

My sincere request to you is, please don't peddle only what you know as the truth. Please go do some research on RAID optimization, RAID groups, Parity groups. And please stop with the name calling in your every reply, its starting to sound amateurish
 

Laurence Flynn

Well-known member
Joined
Dec 31, 2016
Messages
92
Best answers
0
Ratings
24
Points
8
#15
Teach me how you stripe 4 drives in RAID 1 and get the same IOPs as RAID 10. Any use cases, any diagrams? While you can put 8 drives in a RAID 1 array you only have mirroring and no striping. Data is written to one drive on one side of the array and copied to a drive on the other side. No striping, no parity and no distribution of data across multiple devices therefore the IOPs is lower.

I have not called you one name whilst you insinuated I was "ignorant" and "amateurish".

Let's stop sniping and just get down to the facts. I'm not all knowing but I have built over a hundred RAID systems in the last 15 years. I'm willing to listen and learn. RAID 1 has no striping and no parity ergo it's slower than RAID 10 and it doesn't matter how many drives you have.
 
Joined
Dec 28, 2016
Messages
64
Best answers
0
Ratings
30
Points
0
#16
Teach me how you stripe 4 drives in RAID 1 and get the same IOPs as RAID 10. Any use cases, any diagrams?
All this offtrack talk wouldn't have happened if you had actually read the link I shared about a use case in my very first post.
See this for performance test.
I can understand your point of view but there are several organizations that are using multi group RAID1 arrays for their workloads. Yes, this might not exactly be a hosting environment or hosting industry use case at all but this is an enterprise use case. Especially for things like multiple files in the same filegroup.

Another post about RAID1 groups and parity: http://searchstorage.techtarget.com/answer/RAID-groups-and-parity-groups

I'm sure you've heard of striping on RAID1. Its called RAID01. Striping into RAID1 arrays which is what happens with RAID1 groups. Some might argue this is RAID10, well it isn't. There is a difference when you're doing 0+1 and 1+0 in which data is first striped and then mirrored vs data being mirrored and then striped respectively. A brief demonstration is available here: http://www.thegeekstuff.com/2011/10/raid10-vs-raid01 (Link is only for demonstration of how it looks, I do not vouch for all the explanations given there.)
 

Laurence Flynn

Well-known member
Joined
Dec 31, 2016
Messages
92
Best answers
0
Ratings
24
Points
8
#17
The Op asked for a comparison with RAID 1 vs RAID 10. Any host you go to will build a RAID 1 server with 2 drives. And they'll build a RAID 10 server with 4 drives. In this case, which accounts for 99.9% of all default setups provided by any server provider, RAID 10 is clearly the winner.

RAID 1 is not RAID 01. "RAID 1" is clearly a pair of mirrored drives for most of the population. Most people think of RAID 01 as a RAID 10 variant. I know, they aren't but you're striping and mirroring - just in the opposite order. Now it's clear you have been talking about RAID 01 all along. I've never used it, always seemed redundant to me when you can use RAID 10 and benefit from the 100% fault tolerance vs 01. You can lose half your drives in RAID 10 (generalisation, I know) but only one per pair in RAID 01. Your first link is clearly testing RAID 01 with exact benchmarks as RAID 10.

I think we exhausted this topic and to be honest I enjoyed reading a lot of the resources. I'm in the middle of moving a 20TB cloud from a Xen-based RAID 50 architecture to KVM and RAID 10. The throughput comparisons are amazing.

Anyhow, RAID 10 > RAID 1 (not RAID 01) and even that depends on hardware and architecture.
 

HostYourNet-DR

Well-known member
Joined
Jan 13, 2017
Messages
136
Best answers
0
Ratings
9
Points
0
#19
Raid 10 wins all day long, Better performance, better reliability, better up time, and less chance of a dual Hard drive fail causing full system break down.
 

racksandcloud

Well-known member
Joined
May 18, 2017
Messages
89
Best answers
0
Ratings
13
Points
0
#20
RAID 10 (Mirroring + Striping) | RAID 1 (Mirroring)

RAID 10 level essentially combines the features of RAID 1 and RAID 0, making sure data is mirrored and therefore safe (mirroring) while also making sure that the I/O performance of a system is improved thanks to the data being spread across multiple drives and disks.

If you are using a RAID 1 with 4 disks then you will get up to 4x read speed and no write speed gain.
If you are using a RAID 10 with 4 disks then you will get up to 4x read speed and 2x write speed gain.

RAID 01 fault tolerance is less and RAID 10 fault tolerance is more.

You may use RAID online calculator to see the difference and choose the RAID level with your requirements.

http://www.raid-calculator.com/default.aspx
 

Dr. McKay

Well-known member
Joined
Nov 26, 2016
Messages
343
Best answers
0
Ratings
22
Points
18
#21
I have a new VPS!

How can I test it if it is running with raid 1 or raid 10?

Does any one know?
 

racksandcloud

Well-known member
Joined
May 18, 2017
Messages
89
Best answers
0
Ratings
13
Points
0
#22
There is no need to setup VPS with RAID, because VPSs are running in virtual disk. RAID is for physical disks. setting up RAID in NODE or Hyper-visor where this vps is hosted. but it is not possible to find from a VPS, you need to contact your VPS provider.

S/W raid can check by the command "cat /proc/mdstat"

Hardware Raid has their command line tools which need to install in the server to find raid level or need to reboot the dedicated server/Node to get the RAID BIOS. You can find which raid controller is used in the server by running the command "lspci | grep -i raid"
 
Latest Threads
  • Awaiting approval
Replies
0
Views
1
  • Deleted
  • Deleted by Localnode
  • Reason: Wrong section
Replies
0
Views
4
  • Deleted
  • Deleted by fwh
Replies
0
Views
1

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top