Morning, so I’ve been assigned a task to increase the size of some volumes on a Win 2012 DB server. Transpires that the server has a RAID5 for the Databases. According to the following link, RAID5 is not recommended.
‘Important
RAID 5 and RAID 6 are not recommended for Amazon EBS because the parity write operations of these RAID modes consume some of the IOPS available to your volumes. Depending on the configuration of your RAID array, these RAID modes provide 20-30% fewer usable IOPS than a RAID 0 configuration. Increased cost is a factor with these RAID modes as well; when using identical volume sizes and speeds, a 2-volume RAID 0 array can outperform a 4-volume RAID 6 array that costs twice as much.’
I’m wondering how much this has affected performance then, and whether we should be looking to change this. By preference, I’d always though RAID10 the one to go for (but appreciate it can be expensive). There’s no mention on the AWS docs of whether RAID10 is supported, but they do recommend RAID1/0, so seeing as RAID10 is nested 1+0 I imagine it should be fine.
As always, interested to hear people’s thoughts on this matter.
I usually chime in and suggest that the complaints about RAID5 are somewhat overstated - but then I’m not usually talking about Windows software RAID when I say it.
Even doing this with local disks, I can tell you from experience the performance is abysmal compared to what you’d see with another format.
I’d suggest the easiest way to increase the size of these disks are build new RAID10 disks, and migrate.
That’s the thing, I am considering taking the opportunity to move to RAID10. Will take a fair bit of planning though, as it is our Production DB server, which hosts a lot of customers. My task is only meant to be expanding the disks too though, so I’m not sure how much appetite the higher ups will have for a RAID5=>RAID10 migration.
I might raise a support ticket with AWS, for ‘general guidance’, to see what they say - this may carry more weight too, WRT getting this changed.
Why do you need to mirror any data? EBS handles that for you. My recommendation (Not a Windows person at all) is to create a bunch of disks and stripe them. You can get a lot of performance from stripping EBS volumes.
I don’t see where AWS recommends to mirror EBS disks:
“Amazon EBS volume data is replicated across multiple servers in an Availability Zone to prevent the loss of data from the failure of any single component. This replication makes Amazon EBS volumes ten times more reliable than typical commodity disk drives. For more information, see Amazon EBS Availability and Durability in the Amazon EBS product detail pages.”
This is the system I’ve inherited - seems the logic behind it is from the ‘iron age’ rather than the ‘cloud age’. I’m all for changing how this is configured (I was pushing for RAID10, as I know the powers that be won’t be comfortable with the ‘lack’ of redundancy).
The AWS support ticket, that they responded to, actually makes reference to ‘This makes EBS volumes 20 times more reliable than typical commodity disk drives, which fail with an AFR of around 4%.’ - so higher than the ten times you mention.
Reading that extending RAID5 volumes is more involved than normal, so perhaps now is a good chance to make the switch.
You need to inform the higher ups they are wrong about RAID 10 on EBS. That is your job. Plus, RAID5 is just slowing things down and wasting money. If you are really going to do RAID10, then do RAID10, but don’t do RAID5.
I’m thinking RAID0 is the way forwards (I don’t think you can do RAID10 natively in Windows Server 2012…) There’s a few options here, but I’m thinking something like 4x300GB = 1.2TB, and should be nice and fast too.
Last bit of advice, make sure when the data is written to the RAID0 volume that data is scattered equally over the 4 disks. Don’t configure the RAID0 so that you have to write 300GB before data is written to the second member of the RAID set.