SSD vs HDD: Choosing the right tool for the job

Photo of an HDD and SSD driveWe’ve featured solid-state drives (SSDs) in the past on this blog. However, given the recent situation in Thailand and increasing shortage of hard-disk drives, I thought it would be appropriate to feature a piece helping people who are designing computer systems decide when it is a good idea to use SSDs rather the traditional hard drives (HDDs).*

The first two things that people usually think of when they consider SSDs are that they are both much faster and more expensive than HDDs at the same level of drive capacity. Their high price tag makes SSDs currently under-utilized in the market even though for some applications you’d be saving money by using them. Let’s briefly look at a basic example.

Let’s assume we’re currently running the hardware configuration below:

  • Configuration 1
  • 10x 2U servers
  • 24 SAS drives
  • $80,000 total cost ($36,000 drives + $40,000 servers + $4,000 rack space)

In the above example, let’s assume we decided to go with SAS drives because our applications demand high IOPS but not necessarily much storage space (i.e. we’re currently under-utilizing the storage capacity). In such a scenario, it is much more cost-effective to have used SSDs rather than SAS drives in designing a configuration. Here is how the improved configuration would look:

  • Configuration 2
  • 4x 1U servers
  • 8 SSD drives
  • $30,800 total cost ($5,000 drives + $25,000 servers + $800 rack space)

Configuration 2, which uses SSDs instead of HDDs, saves you 62% in purchasing costs over Configuration 1 (it will also save you money in operating costs because SSDs use less energy than spinning drives and there are also less total servers to power). This simple example illustrates some of the possibilities for hardware cost and energy consumption savings that SSDs promise, but deciding on whether to go with SSDs or HDDs is all about choosing the right tool for the job. Let’s look at this challenge in more detail.

There are three key metrics (aside from price) to consider when determining whether SSDs are the smart option for your computing system. These are storage, IOPS, and workload requirements. Let’s look at storage capacity first.

Storage Capacity

It’s undeniable that if your applications require large quantities of storage space, SAS and SATA drives look much more appealing than SSDs to the pocketbook. As Chart A demonstrates, for the same GB capacity, an SSD drive is much pricier than a SAS drive (and the SSDs don’t even come close to matching the capacity levels of SATA drives).

Chart of prices per storage capacity for SSD, SATA and SAS drives

Chart A

So, if I/O performance is not important and you require merely storage capacity, SATA or SAS drives are usually the best options. But what if your applications call for both many gigabytes and high I/O?

You can attain a solution for this situation by designing a hybrid system, a server that uses both SSDs and HDDs. Although this requires more in-depth knowledge of your applications’ resource utilization to implement, such a solution can make your servers more efficient and save you money. By assigning some tasks (such as handling swap files and transaction logs) to SSDs and other storage tasks to HDDs, you can reduce the I/O bottleneck and at the same time allow for large quantities of data to be stored on the system.

There is another type of solution with hybrid drives, which works exceptionally well in storage systems where the need for drive read (but not write) performance is extremely high. This solution is based on LSI’s CacheCade technology that uses SSDs as RAID controller cache. Read more about such an implementation here.

Once you’ve considered your storage requirements, the next factor to take into account is performance.

IOPS

IOPS stands for Input/Output Operations Per Second (IOPS), and it is a measure of drive performance. For HDDs, IOPS is largely determined by the quickness with which the rotating disk and the read/write head operate. Since SAS drives spin at speeds much higher than SATA drives (15,000 RPM vs. 7,200 RPM, respectively), you can frequently rule out SATA drives as an option if your applications require high IOPS.

SSDs can attain comparable or better IOPS levels as SAS drives for a much lower cost. So, when it comes to IOPS, the typical mantra that “SSDs are too expensive” is actually reversed. SSDs only seem expensive when comparing price per gigabytes (see Chart A); if you compare price per IOPS, SAS drives are the more costly option (see Chart B).

Chart showing price per IOPS of SSDs, SAS drives, and Fusion-io

Chart B

Chart B also shows FIO in addition to SSD and SAS drives. FIO stands for Fusion-io, a vendor of a unique and high-end type of I/O solution. FIO uses solid-state flash memory connected via a PCIe slot on the motherboard to achieve perhaps the highest levels of IOPS possible in a system (over 1,000,000 IOPS, in some cases). Such a solution is very pricey and is only recommended in extreme cases where the application calls for the highest performance available regardless of the cost (e.g. computational finance).

But IOPS is still only one part of the I/O equation. You still have to consider the workload requirements of your applications.

Sequential vs. Random I/O

I/O operations can be classified as one of two types: sequential or random. In HDDs, the most time consuming part of the I/O process is when the disk head seeks the disk cylinder to access the correct data. If it needs to access data that is scattered in many different places on the disk (i.e. random I/O workload), then HDD performance will be significantly slower. On the other hand, if the data to be read is located in the same general area of the disk cylinder (and the disk is not terribly fragmented), then HDDs can tackle such sequential I/O workloads rather well.

Applications that use sequential I/O operations include backup, archiving, and streaming video. Two common examples of random I/O are database servers and Microsoft Exchange servers.

Since SSDs don’t have spinning parts, they perform random I/O operations better than hard disk drives. Chart C approximately demonstrates this workload to technology alignment.

SSD Workload and Technology Alignment Chart showing that SSDs are better for random I/O applications while SAS drives are a good deal for sequential I/O applications

Chart C

Of course the devil is in the details, and you should  first determine specifically what type of workload your applications will demand. As a general rule of thumb, SATA drives are sufficient for situations which primarily require sequential I/O, SSDs should be used when faster seek time is at a premium (random I/O), and SAS drives are a good solution when you expect a mixed workload.

Conclusion: Where SSDs excel

The best situations where you could use solid-state drives are ones where:

  1. The size of your data set is small,
  2. You require high IOPS, and
  3. Your I/O workload is mostly random operations.

There are other important factors to consider when deciding whether SSDs or HDDs are the right tool for the job. For instance, most types of enterprise-level SSDs have write longevity constraints over the course of their usable life. In addition, if you decide to reduce the number of servers you deploy by utilizing SSDs, you should make sure that scaling down your hardware does not create other bottlenecks in processing power, network I/O, or RAM.

If you have any other advice for those trying to decide between SSDs and HDDs when designing computing systems, please post in the comments below. Thanks for reading!


* This article (and the data mentioned) is based on an excellent presentation delivered by Douglas Bone on April 19, 2011.

ICC ‘Cosmos’ Servers with Intel Xeon E5-2600 Processors

Image of Cosmos Server Motherboard

If you haven’t heard the news yet, the next generation Sandy Bridge Intel Xeon E5 processors have been released for the general public. We’ve announced our new ‘Cosmos’ Server line, boasting the Xeon E5-2600 family of processors.

Learn more about them on our website and contact us to put the power of the ‘Cosmos’ at the core of your computing today!

 

Intel Xeon E5 Processors – Sign up to receive notifications

We have a new page on our site for the Intel Xeon E5 Processors that will be released soon. Although the products aren’t yet available, you can sign up and browse our existing Xeon E3 catalog. The page also contains some details on the new Xeon E5 processors which we discussed here a few weeks ago.

Check out the page, or if you would rather just skip that and register for updates here, fill out the form below. You will receive a notification when the new E5 processors and their server systems have been released and are up on our website. You may also request additional information and specs before that time.

* indicates required


Less Than a Week Left for the “Social Servers” Deal

Image of our Stellar Deal Campaign
There is still time before the social servers deal ends! Remember we need to reach our goal of 50 systems in order for everyone to get the deal of 20%!

The promotion includes this hardware:

  • Case: Supermicro 813MT-350CB
  • Motherboard: X9SCL-F
  • Processor: Intel Xeon E3-1230 3.2 GHz
  • Power Supply: 350W High-Efficiency

You also get your choice of 8GB or 16GB memory and up to 8 TB of storage space. Our promotion includes access to phenomenally-priced Toshiba enterprise hard drives.
Image Showing Sample Price Comparison of Standard $1633.07 vs. Stellar Deal of Under $1350
It’s not social shopping without your engagement! Don’t be anti-social… share with others and claim your 20% discount today!

SAS, SATA, and iSCSI – A Tutorial

Yesterday there was a great piece over at TechRepublic on the confusing intersection of SAS, SATA and iSCSI arrays. For anyone who has ever had a difficult time understanding and differentiating these technologies, this is a very valuable resource. Excerpts are cross-posted below.

SATA and SAS are storage interface and bus types designed to aid in the movement of data from one place to another. Think of SAS and SATA as different kinds of computer interfaces, such as PCI Express, but there are actually multiple components that make up the overall SAS architecture.

  • Initiators. The initiator is the SAS controller to which SAS expanders or targets can be connected.
  • Expanders. Expanders sit between initiators and targets, but can also connect to other expanders, as you can see in Figure A. Expanders are sort of like network switches in that they can direct traffic and they provide the ability to scale the SAS architecture beyond single port limits.
  • Targets. A target is either a SAS drive or a SATA disk. SATA disks can be connected to SAS expanders and initiators, but do not perform quite as well as SAS disks.

Continue reading

Intel MIC and its Comprehensive Networking Strategy

Last week we talked about the upcoming release of Intel’s Xeon E5 processor family. This week, we have some even more important announcements regarding Intel MIC and the strategic direction that Intel is headed regarding high performance computing.

Image of the Aubrey Isle Die used in the Intel MIC "Knights Ferry"

Die shot of 'Aubrey Isle,' the silicon chip included in the Intel MIC 'Knights Ferry' development platform

Continue reading

“Social Shopping for Servers” has Begun!

Image of our Stellar Deal Campaign
We hope everyone has thus far had a great start to 2012! To help launch us further into the new year, we are running a special “social servers” campaign through the end of February to help bring everyone together for fantastic savings! The Stellar Deal on our 5017C-MTF 1U Single Xeon E3 “Sandy Bridge” server takes the form of social shopping for servers where a special discount of 20% will be applied if the campaign goal of 50 servers is met. If we reach our campaign goal, everyone gets the deal and benefits! If we don’t meet the goal, you won’t be charged but nobody gets the deal.

Continue reading

Gearing up for Intel’s Big Xeon E5 Launch

Image of Intel Xeon ChipAnticipation is building over the upcoming release of Intel’s new Xeon processor E5 family. Formally announced last November in 2011, Intel unveiled some impressive stats for the new E5 line: full integration support for the PCI Express 3.0 base (which is estimated to double interconnect bandwidth over the PCIe 2.0 specification), over twice the performance in raw floating point operations per second (FLOPS), and substantially greater real-HPC workloads compared to the Xeon 5600 series.

In the original Intel press release, the company announced that:

Continue reading

The Evolution of Storage – 2012 Isn’t Just the Year of the Dragon

2012 is quickly shaping up to be an exciting year in a variety of technology verticals. Just last week NVIDIA® announced a new production release of their CUDA computing toolkit, accelerating GPU computing. Meanwhile, everyone is excitedly awaiting the launch of the new Intel products shipping towards the end of Q1.

But of all the areas in tech innovation, storage may be the one to set itself apart this year. Yesterday Computerworld ran a very thorough and informative piece titled “2012: The year storage becomes a celebrity,” in which they laid out some of the things to look forward to in the development of enterprise storage this year.

The Overview

While data storage has always been a necessary building block for technology, it’s rarely garnered as much attention as it has in the past two years. The reason: Corporate and retail consumers are being forced to store greater amounts of data and they need to make that data more useful — and accessible.

Enterprise storage, and storage in general, is one of those things that trends dictate will get increasingly cheaper. That doesn’t always mean that it will become more accessible, as storage needs may outpace dropping costs. However, in general storage has become more and more affordable, making a big difference to smaller and even mid-sized organizations. It’s also something that is shared across all industries almost without exception. Storage is not just an “IT” issue, but rather plays a critical role in healthcare, entertainment, finance, engineering, etc.

And ten years ago, we did not have the wide variety of options we do today…

Continue reading