Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a question about speed performance with two separate SSD drives comparing them to RAID mirror array. I do not like idea to setup RAID 0 with 2 x SSD drives because of high risk of data loss, but I like an idea to have read speed advantages from RAID 1 array.

So what if I will set 2 x SSDs separately: one is for /www resources another just for /mysql DB that accessing same time.

Could I expect same speed increment as for RAID 1?

share|improve this question
add comment

closed as not a real question by ewwhite, Ward, Chris S Nov 6 '12 at 5:36

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 3 down vote accepted

You're thinking about this the wrong way:

You are correct in stating that RAID0 with two SSDs is a bad idea. Lose one, and you lose the lot. But what you're suggesting, using two SSDs in two seperate places, well, that's just as dangerous: If you lose the /www drive, your website will become useless. If you lose your /mysql drive, your website will become useless. The end result is the same.

Additionally, unless you're serving millions of tiny files at gigabit bandwidths, hosting your static HTML files on an SSD will give you no speed boost, as there's almost no latency or disk access issues in picking up static files, unless you're doing it at a Facebook scale.

My suggestion: Take your two SSDs and put them in a RAID-1. It's still going to be fast (SSDs are fast by nature), probably faster than you'll ever need. There's not really that many servers that need an array of SSDs, not unless you're doing analytics on massive amounts of data, or have 100 servers all doing on-the-fly video encoding.

If you're still having speed problems after running things off a RAID1 pair of SSDs, start looking at your code and your database structures.

share|improve this answer
    
Thank you this is a best answer I ever expected :-) –  Ken Tang Nov 6 '12 at 5:03
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.