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.

We (and by we I mean Jeff) are looking into the possibility of using Consumer MLC SSD disks in our backup data center.

We want to try to keep costs down and usable space up - so the Intel X25-E's are pretty much out at about 700$ each and 64GB of capacity.

What we are thinking of doing is to buy some of the lower end SSD's that offer more capacity at a lower price point. My boss doesn't think spending about 5k for disks in servers running out of the backup data center is worth the investment.

These drives would be used in a 6 drive RAID array on a Lenovo RD120. The RAID controller is an Adaptec 8k (rebranded Lenovo).

Just how dangerous of an approach is this and what can be done to mitigate these dangers?

share|improve this question
4  
What is the rationale for using SSD instead of spinners? The folk wisdom on SSD performance is "pay up or don't bother", but there certainly are other aspects that might be an advantage. –  peterchen Feb 2 '11 at 9:57
    
I'm curious about the problem that you're trying to solve here. If it's simply one of costs why are SSDs being considered in place of conventional drives? –  John Gardeniers Feb 2 '11 at 23:28
    
@peterchen, you can use either a couple of SSDs or fifty 15K spindles. –  Mircea Chirea Feb 17 '11 at 4:33
    
@iconiK - do you mean "for a server, you need to spend a lot ofmoney anyway"? If so - yes, that's why I was wondering, too. –  peterchen Feb 17 '11 at 8:19

8 Answers 8

up vote 55 down vote accepted

A few thoughts;

  • SSDs have 'overcommit' memory. This is the memory used in place of cells 'damaged' by writing. Low end SSDs may only have 7% of overcommit space; mid-range around 28%; and enterprise disks as much as 400%. Consider this factor.
  • How much will you be writing to them per day? Even middle-of-the-range SSDs such as those based on Sandforce's 1200 chips rarely appreciate more than around 35GB of writes per day before seriously cutting into the overcommitted memory.
  • Usually, day 1 of a new SSD is full of writing, whether that's OS or data. If you have significantly more than >35GB of writes on day one, consider copying it across in batches to give the SSD some 'tidy up time' between batches.
  • Without TRIM support, random write performance can drop by up to 75% within weeks if there's a lot of writing during that period - if you can, use an OS that supports TRIM
  • The internal garbage collection processes that modern SSDs perform is very specifically done during quiet periods, and it stops on activity. This isn't a problem for a desktop PC where the disk could be quiet for 60% of its usual 8 hour duty cycle, but you run a 24hr service... when will this process get a chance to run?
  • It's usually buried deep in specs but like cheapo 'regular' disks, inexpensive SSDs are also only expected to have a duty cycle of around 30%. You'll be using them for almost 100% of the time - this will affect your MTBF rate.
  • While SSDs don't suffer the same mechanical problems regular disks do, they do have single and multiple-bit errors - so strongly consider RAIDing them even though the instinct is not to. Obviously it'll impact on all that lovely random write speed you just bought but consider it anyway.
  • It's still SATA not SAS, so your queue management won't be as good in a server environment, but then again the extra performance boost will be quite dramatic.

Good luck - just don't 'fry' them with writes :)

share|improve this answer
2  
Do you mean 400% for the extra space, or 40%? I was going to edit your answer but couldn't find a citation, so I suppose it could be 400%. (It's a very good point, by the way) –  ChrisInEdmonton Feb 1 '11 at 21:48
9  
It's also not always clear if TRIM is supported on a RAID configuration. Remember, the SSDs are abstracted away from the OS with RAID. Be sure to check with the RAID vendor. –  Matt Sherman Feb 1 '11 at 21:51
5  
I meant 400 Chris, specifically the ones used in FC SANs, very spendy though, very. –  Chopper3 Feb 1 '11 at 21:51
4  
One trick to get more reserve space out of a drive is to do the secure erase, then partition it with a large fraction unused. This free space will add to the SSD's performance and lifetime. –  Zan Lynx Feb 2 '11 at 6:18
1  
Just want to +1 with @ZanLynx .. I usually only partition about 80% of the drive when I'm using SSD + Raid. –  Tracker1 Jan 4 '13 at 18:16

I did find this link, which has an interesting and thorough analysis of MLC vs SLC SSDs in servers

In my view using an MLC flash SSD array for an enterprise application without at least using the (claimed) wear-out mitigating effects of a technology like Easyco's MFT is like jumping out of a plane without a parachute.

Note that some MLC SSD vendors claim that their drives are "enterprisey" enough to survive the writes:

SandForce aims to be the first company with a controller supporting multi-level cell flash chips for solid-state drives used in servers. By using MLC chips, the SF-1500 paves the way to lower cost and higher density drives servers makers want. To date flash drives for servers have used single-level cell flash chips. That's because the endurance and reliability for MLC chips have generally not been up to the requirements of servers.

There is further analysis of these claims at AnandTech.

Additionally, now Intel has gone on the record saying that SLC might be overkill in servers 90% of the time:

"We believed SLC [single-level cell] was required, but what we found through studies with Microsoft and even Seagate is these high-compute-intensive applications really don't write as much as they thought," Winslow said. "Ninety percent of data center applications can utilize this MLC [multilevel cell] drive."

.. over the past year or so, vendors have come to recognize that by using special software in the drive controllers, they're able to boost the reliability and resiliency of their consumer-class MLC SSDs to the point where enterprises have embraced them for high-performance data center servers and storage arrays. SSD vendors have begun using the term eMLC (enterprise MLC) NAND flash to describe those SSDs.

"From a volume perspective, we do see there are really high-write-intensive, high-performance computing environments that may still need SLC, but that's in the top 10% of even the enterprise data center requirements," Winslow said.

Intel is feeding that upper 10% of the enterprise data center market through its joint venture with Hitachi Global Storage Technologies. Hitachi is producing the SSD400S line of Serial Attached SCSI SSDs, which has 6Gbit/sec. throughput -- twice that of its MLC-based SATA SSDs.

Intel, even for their server oriented SSD drives, has migrated away from SLC to MLC with very high "overprovisioning" space with the new Intel SSD 710 series. These drives allocate up to 20% of overall storage for redundancy internally:

Performance is not top priority for the SSD 710. Instead, Intel is aiming to provide SLC-level endurance at a reasonable price by using cheaper eMLC HET NAND. The SSD 710 also supports user-configurable overprovisioning (20%), which increases drive endurance significantly. The SSD 710's warranty is 3 years or until a wear indicator reaches a certain level, whichever comes first. This is the first time we've seen SSD warranty limited in this manner.

share|improve this answer

I deployed a couple of 32gb SLC drives a couple of years ago as a buffer for some hideously poorly designed app we were using.

The application was 90% small writes (< 4k) and was running consistently (24/7) at 14k w/s once on the SSD drives. They were configured RAID 1, everything was rosy, latency was low!

However roughly one month in and the first drive packed up, literally within 3 hours, the second drive had died as well. RAID 1 not such a good plan after all :)

I would agree with the other posters on some sort of RAID 6 if nothing else it spreads those writes out across more drives.

Now bear in mind this was a couple of years ago and these things are much more reliable now and you may not have a similar I/O profile.

The app has been re-engineered, however as a stop gap which may or may not help you, we created a large ram disk, created some scripts to rebuild/backup the ram disk and take the hit of a hour or so loss on data/recovery time.

Again, your the life cycle of your data may be different.

share|improve this answer

Even if the MLS SSD only lasted for one year, in a years time the replacements will be a lot cheaper. So can you cope with having to replace the MLS SSD when they where out?

share|improve this answer
    
a good point, particularly since they will be in a RAID array.. so long as "too many" of them don't fail at once, this is actually plausible. –  Jeff Atwood Feb 3 '11 at 8:43
    
@Jeff, if you can swap some in and out with your desk top PCs, so that don't all get the some usage patten, this will make it less lickly they will all fail at the same time. –  Ian Ringrose Feb 3 '11 at 9:10
    
@Jeff, I think to a large extend, Fail == "start to do very slow rights" rathern then "dan't read data" –  Ian Ringrose Feb 3 '11 at 9:10
    
don't you love auto-correction :-) –  Jeroen Wiert Pluimers Feb 18 '11 at 12:50

You should just calculate the amount of daily writes you have with your current set-up and compare that with what the manufacturer guarantees their SSD drives can sustain. Intel seems to be the most up-front about this - for example, take a look at their mainstream SSD drive datasheets: http://www.intel.com/design/flash/nand/mainstream/technicaldocuments.htm

Section 3.5 (3.5.4, specifically) of the specs document says that you're guaranteed to have your drive last at least 5 years with 20GB of writes per day. I assume that's being calculated when using the entire drive capacity and not provisioning any free space for writes yourself.

Also interesting is the datasheet regarding using mainstream SSDs in an enterprise environment.

share|improve this answer
    
Unfortunately it is not at all that simple because wear leveling amplifies writes (remember it is designed to spread writes not reduce them) in a manner that is proprietary and can vary hugely in it's effectiveness based on the usage pattern. –  JamesRyan Feb 2 '11 at 17:41
    
Hm, very good point. Also, losing the TRIM command if using the drives in a RAID setup should also increase the write amplification. I guess it all comes down to each manufacturer's idea of the typical usage pattern. –  cearny Feb 2 '11 at 20:56

Always base these sorts of things on facts rather than supposition. IN this case, collecting facts is easy: record longish-term read/write IOPS profiles of your production systems, and then figure out what you can live with in a disaster recovery scenario. You should use something like the 99th percentile as your measurement. Do not use averages when measuring IOPS cpacity - the peaks are all that matter! Then you need to buy the required capacity and IOPS as needed for your DR site. SSDs may be the best way to do that, or maybe not.

So, for example, if your production applications require 7500 IOPS at the 99th percentile, you might decide you can live with 5000 IOPS in a disaster. But that's at least 25 15K disks required right there at your DR site, so SSD might be a better choice if your capacity needs are small (sounds like they are). But if you only measure that you do 400 IOPS in production, just buy 6 SATA drives, save yourself some coin, and use the extra space for storing more backup snapshots at the DR site. You can also separate reads and writes in your data collection to figure out just how long non-enterprise SSDs will last for your workload based on their specifications.

Also remember that DR systems might have smaller memory than production, which means more IOPS are needed (more swapping and less filesystem cache).

share|improve this answer

A Whitepaper on the differences between SLC and MLC from SuperTalent puts the endurance of MLC and a 10th of the endurance of an SLC SSD but the chances are the MLS SSD's will outlive the hardware you are putting them into anyway. I'm not sure how reliable those statistics/facts are from SuperTalent though.

Assuming you get a similar level of support from the supplier of the MLC SSD's then the lower price point makes it worth a shot.

share|improve this answer
1  
5 year lifetimes for typical desktop use have been mentioned. If that is an accurate estimate then they are not going to outlive the server in a datacenter environment! –  JamesRyan Feb 1 '11 at 21:24
    
@JamesRyan: Although not shown in most calculations, the lifetime is very dependent on the fraction of free space. –  Ben Voigt Feb 2 '11 at 0:00
1  
In the organisations I've worked for we've always put server hardware refresh at 3 years. I was under the impression that was generally accepted best practice but do correct me if I'm wrong. –  chunkyb2002 Feb 2 '11 at 21:10

If we set the write quantity problem aside (or prove that consumer level SSDs can handle it), I think SSDs are a good thing to add to enterprise-level environments. You will probably be using the SSDs in a RAID array. RAID5 or RAID6. And the problem with these is that after a single drive failure, the array becomes increasingly vulnerable to failure. And the time to rebuild it depends heavily on the volume of the array. A several TB array can take days to rebuild, while being constantly accessed. In case of SSDs, the RAID-arrays will a) be inevitably smaller b) rebuild time decreases drastically.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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