HDD vs. Flash: The Differences Between Flash and HDD

HDD vs. Flash: The Differences Between Flash and HDD

The basics of physical drives and the configurations needed to optimise performance/redundancy with Flash and HDD  

The first problem faced by anyone looking to buy an IT product is the number of choices — it can be paralysing. For businesses looking to implement enterprise-level IT solutions on a budget, there is no way to sidestep learning something about the technology on offer.

Data-storage is no exception to the choice paradox. Even when just looking at physical drives for on-premise or remote access, you are still stuck answering the question — spinning disks vs. Flash? Then you have to pick a RAID configuration.  

There are a host of vendors that will help you make the right choice. However, a little bit of information can start you headed in the right direction. This is a beginners guide to hardware. We will compare Flash to traditional hard drives, and talk about the basic RAID options for SSD or HDD configurations.

The Differences Between Flash and HDD

HDD [Hard Disk Drive]

HDD is the traditional computer storage unit — a spinning magnetic disk and mechanical read/write head. It is slower to boot and slower to use than SSD. However, HDD is a cheap and proven technology. A major benefit over SSD is that HDD suffers no inherent deterioration through rewriting data.

  • Traditional computer storage — spinning magnetic disks
  • Cheap and tested solution
  • Suffers no inherent deterioration through rewrites

Problems: HDD vs. Flash

Physicality and fragmentation are the two fundamental issues with HDD. Because files are stored on a rotating surface, HDDs work best when files are written in a contiguous block. This can become impossible as the drive begins to fill up. Read/write algorithms have helped minimise this problem. However, HDDs tethering to physical movements inherently limits its capability.

The mechanical nature of HDDs also exposes them to failure through simply breaking — making them more susceptible to physical damage. This increases the likelihood of an unexpected failure.   

  • HDD is slower than Flash
  • HDD is susceptible to fragmentation and physical damage

SSD [Solid State Drive] and Flash

SSD technically refers to any storage device without moving parts. Flash is SSD, but not all SSD is Flash. Generically, SSD has come to reference Flash hard disks. People are most familiar with Flash USB drives. However, Flash runs your phone, along with a growing number of laptops and enterprise storage arrays. The main benefits of Flash are its speed and size.

The Flash format is based on electric programming. Introduced in 1984, Flash memory cells must be erased before new data can be written. Historically, deterioration caused by this process limited the lifespan of its rewritable cells. In the last 10 years, coding techniques such as TRIM have dramatically solved this problem*. However, it has not been completely eradicated.     

  • Flash is SSD*
  • Flash drives are smaller and faster than HDD counterparts
  • Flash degrades over time, but coding techniques have helped solve this issue

Different Types of Flash

There are three basic types of Flash storage — SLC [Single Level Cell] MLC [Multi Level Cell] and TLC [Triple Level Cell]. These scale from being able to store 1 bit per cell, to 3 bits per cell.  

A TLC unit will be the cheapest for the power but will decay the fastest due to the wear of erasing and rewriting data in a high write environment. This will be due to the nature of the storage cell and the need to rewrite all bits per cell in order to change one of them. Most All-Flash Arrays [AFA] use the compromise MLC configuration.

Benefits of Flash vs. HDD

Flash drives consume up to 50% less power than similar capacity HDDs, and are capable of much faster read/write speeds. Average HDDs cap out at 120 MB/s, while many Flash drives are capable of read/write speeds in excess of 500 MB/s.

In addition to offering greater speed, Flash drives are more durable when it comes to physical damage and are less susceptible to unexpected failures. They provide this robustness in a dramatically smaller package. These are the two main differences between flash and HDD

Importantly, Flash drives do not suffer from fragmentation issues. This makes them particularly viable options for software that operates random write procedures — common with VDI systems and storage control software like that offered by NetApp or Nimble.  

Flash drives are faster, do not suffer from fragmentation issues, are less susceptible to physical damage and unexpected failure — all delivered in a smaller and more energy efficient package. However, you pay for all of this with upfront costs. HDD costs around $0.03 per GB, while SDD will run closer to $0.20 per GB.

  • Flash is the fast option
  • Flash is small and uses less power, but is more expensive
  • Flash is less susceptible to unexpected failures than HDD

RAID [Redundant Array of Inexpensive (-or- Interchangeable) Disks]

Something most data storage systems utilise

RAID is the most basic configuration option you need to think about after you purchase your hardware. It refers to several different techniques for configuring data storage across multiple hard drives. The aim is to increase speed and/or reliability by spreading or mirroring data across multiple drives.

RAID configurations should be considered whenever running more than one physical storage unit and regardless of network and backup options. The most common configurations are RAID 0, RAID 1 and RAID 10.

RAID 0 means using 2 or more drives and striping the data across all of the drives. This increases read/write performance, but decreases reliability by tethering your data to the functionality of all of your drives. If any one drive fails, you lose everything. If using new Flash hardware supported by active backup procedures — this could save you money on processing power. However, it is dangerous.     

RAID 1 means using 2 or more drives to optimise redundancy. The data is mirrored across the 2 drives so if one fails, everything is recoverable. There is no cost to the capacity of the first drive. However, no matter how many drives you use in a RAID 1 configuration, you will get ½ the power. This is a good choice when running ageing HDD hardware.    

RAID 10 attempts to combine the power of RAID 0 and redundancy of RAID 1 — requiring a minimum of 4 drives. The data is striped across 2 drives, and then mirrored against the other 2. This gives you about double the performance and capacity of 1 drive (what you would get using 4 drives in a RAID 1 configuration), but the ability to lose up to 2 drives without losing data.   

There is a multitude of RAID configurations worth reading about*. However, one should note that although RAID 1 & 10 add redundancy, they do not ‘backup’ your data. You are still vulnerable to viruses and human errors such as saving overvalued content. RAID simply protects your data from hard drive failure — or, in the case of RAID 0, increases your vulnerability to failure in order to optimise speed.

SUMMARY: The Differences Between Flash and HDD Means Picking The One That Fits You

Flash can be a great option*. It is small, easy to use and fast. However, HDD solutions are cheaper and perfectly acceptable if you don’t require instant access to your data*. Particularly if you have existing HDD infrastructure, think about keep that around — at least until it hits the end of its natural lifespan. Then, make sure you plan appropriately for your migration to Flash. Legacy code systems and other elements of your network can impact whether or not an investment in Flash is worth your time.

The differences between Flash and HDD make the appropriateness of one or the other depending on your circumstances.

RAID configurations are something you should take advantage of. If you have a dynamic backup system, you could save money on processing power with a RAID 0 configuration. If operating a bunch of ageing HDDs, choose a more stable option to safely maximise the longevity of your devices.

Once you understand your hardware choices, it is time to think about how your data storage devices should be linked to your network. Then think about the software you need to control your system.

Sources:

* Trim (computing)
* The difference Between SSD and Flash Hard Drives
* RAID 2, RAID 3, RAID 4, RAID 6 Explained with Diagram
* SSD vs. HDD: What’s the Difference?
* What’s the difference between flash memory and a hard disk?

Posted in

Rob Townsend

Rob is a co-founder at Nexstor and has dedicated his career to helping a range of organisations from SME to Enterprise to get ahead of the game when it comes to their compute, storage and data needs.

Subscribe to receive the latest content from Nexstor


By clicking subscribe you accept our terms and conditions and privacy policy. We always treat you and your data with respect and we won't share it with anyone. You can always unsubscribe at the bottom of every email.