• 14

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

RAID 10 - many slow disks vs fewer fast disks

I am looking to buy HDDs for a single server which will be used as development server. The server will use ESXi as hypervisor and will have some but not too many virtual machines (web server, database server, file server)

We have already taken a Samsung 950 Pro 256 GB for the virtual machines but I struggle in finding an answer to the question:

In a RAID 10: Are lots of slow disks (5400/5900 rpm) faster than fewer fast disks (7200 rpm)? For example 8x 5400rpm vs 4x 7200rpm

Would the 8 slow be a better choice compared to the 4 fast?

My choice was between 1TB WD Red which run at 5400rpm vs 2TB WD Se 7200rpm.

      • 2
    • Given the tremendous price differences and the fact your developers work for free, I understand your reluctance to go all SSD. Except your developres do not work for free and a 1tb SSD does not cost a lot. Your setup has low performance and high maintenance. Go with SSD.
      • 2
    • @TomTom I completely agree, but would note that it's axiomatic that devs (however many there are) will always exhaust the server (however big it is). Especially if there are databases involved.
      • 2
    • Generally no. My production server is all SSD too - there is nothing cheaper than SSD for a database server because unless you love dead data you ARE limited by IOPS.

This is hard to answer directly, because the answer is very much 'it depends on your caching'.

You see - hard disks are slow. Very slow. But actually, most of the time you don't notice, if you have a decent cache, and a reasonably predicable access pattern.

Read caching means recently accessed things will be coming off cache. Write caching means that recently written things can be deferred and coalesced into full stripe writes.

But when it comes to measuring speed - there's two elements to it. Write performance ... actually probably doesn't matter too much, because of the caching - you can always cache writes, and so as long as your sustained write IO doesn't exceed that of your combined RAID group, it's irrelevant.

But read IO it's much more of a problem - you cannot service a read until you've got your data, and to get your data you have to wait for the disk if it's not already in cache. This is where you see the performance cost - it shows up in read latency.

And that's why slower disks are a problem - because it doesn't actually matter how fast the combined RAID group is, when the data is at rest on one of two drives - you have to access that drive to service the read.

So - at risk of sounding a bit wishy washy - "it depends" a lot on your workload. You can usually get by with some really slow disks and some awesome caching if you want really large amounts of terabytes cheap.

However, I'd only bother doing so when we start talking at 100+TB or so, which is where the cost of rack space, cooling, floor footprint etc. start to become significant.

For your application - I'd say buy the fastest drives you can afford, because it's a lot easier to buy more drives later if you need them, than to realise you can't because you've filled your drive bays and need a new shelf.

But I'd strongly suggest also considering SSDs - their price-per-gig isn't amazing, but their price-per-IOP really is. And whilst no one seems to care about IOPs, that's the thing they really do care about when it comes to 'being a bit slow'.

  • 10
Reply Report
      • 2
    • If you are looking at storage solutions in the multiple TB and up range, you also have to consider how much of that is your active data set. My guess is that many such workloads are more like write-and-archive than they are read-heavy across the whole data set. When you've got large bulk storage of data that is mostly at rest, and a smaller working set that is accessed a lot, you can look into things like having a large but slow set of spinners fronted by some SSDs. ZFS' L2ARC makes that easy to maintain (but needs time to prime the cache, so uptime), but there are other options as well.
      • 1
    • SSDs would do the job but we are going to create a VM to backup our remote servers and also our local data on our computers. That is why I opted for HDD RAID.
      • 1
    • You're creating a VM to act as a backup server? Why? Why not just run a backup server on the physical tin? If performance isn't a consideration, then your whole question is moot - just buy the cheapest per TB, and don't even bother with RAID 10 in the first place.
      • 2
    • I will actually do it that way and get a separate machine for backups. A QNAP/Synology with Mirror should do the work? Use the 950 Pro for the VM and an additional big SSD as storage.

Based on calculations from RAID Performance Calculator, eight 5400rpm disks will yield about 304 IO/s. Whereas four 7200rpm disks will yield about 210 IO/s.

  • 5
Reply Report
    • The irony is - that's about the same as a single 15K SAS drive, and no where even close to even a single SSD.
      • 1
    • @AshBurlaczenko: Because the poinf of using HDD's over SSD's is to save money. But here, the HDD solution has less IOPS for more $.
      • 1
    • @MSalters, I can't see any pricing on this page so how can you say its more. Where can I buy 8TB of SSD storage for less than than 8TB of HDD?
    • When it comes to enterprise storage: capacity is cheap. Gigs at rest cost negligible amounts. What's important - and expensive - is how fast you can move it around. But too many people argue about whether a bus or a truck is better, when they should be thinking about whether they actually need a motorbike.

The main difference between your two choices is 3 year warranty vs 5 years and SOHO usage area vs. certification for datacenters. In terms of raw I/O performance, there is not much of a difference between 5400/5900 and 7200 rpm S-ATA disks nowadays (that was different a few years ago).

In the end therefore the array with more disks will very likely show a superior performance, as RAID10 scales with the number of disks.

What I would guess is more important in this setup, then the number of drives is, get a proper hardware RAID controller with BBU+Cache if you can afford it - or even better go with SSD only from the start on.

Also please be aware, that ESXi natively only supports hardware RAID! While there are workarounds to use software RAID with ESXi, I personally wouldn't advice using these, if you are looking for a decent performance.

Protip: If you are on a really tight budget to self-build this storage server and we are talking about a non mission-critical system, then go fetch yourself an OEM version of a proper RAID controller (IBM M5015, DELL PERC H710, etc.) on ebay.

  • 1
Reply Report
    • Well we code our sites and mobile apps currently on remote server and would rather have the development happen here on a local server. It is not supposed to be accessible from outside the office. So a hardware RAID with HDD is what you recommend?
      • 2
    • The problem is, that if you want to run ESXi you need a hardware RAID controller anyway, as ESXi doesn't support software RAID (also no motherboard onboard "fake" RAID). Besides that a proper hardware RAID controller will influence the performance of the array far more then the choice between 5400 vs. 7200 rpm disks.
    • It certainly works, but of course you have a lot of overhead (iSCSI stack etc.) and a more complex system setup. Personally I wouldn't recommend it, if you are looking for performance.
      • 2
    • Does it really matter whether ESXi supports SW RAID? It just needs to expose the disks to the guest VMs, and they can manage their software RAIDs. Sure, not as CPU-efficient as HW RAID, but the problem for HW RAID is that CPU performance is cheap.
      • 1
    • @Noctalin Yeah, looks like those are your options. Maybe you also want to consider to switch to Hyper-V or Xen. They both offer similiar features while supporting soft RAID. ESXi always sucks for hardware compatility anyway (I think they want to enforce use of certified hardware only) ...

8x 5400 RPM disks will generally outperform 4x 7200 RPM disks, save for single-threaded sequential read/write.

As your use case (virtual machines) is rich of small random reads/writes, you should prefer the solution with more spindles (ie: the more the disks, the better).

Anyway, considered how cheap are 7200 RPM disks, I strongly suggest to use 8x such disks ;)

  • 0
Reply Report

Trending Tags