TODAY POST

SOLID STATE DRIVE (SSD) VS HARD DISK DRIVE (HDD)


A solid state drive or SSD can speed up the performance of a computer significantly, often more than what a faster processor (CPU) or RAM can.

A hard disk drive or HDD is cheaper and offers more storage (500 GB to 1 TB are common) while SSD disks are more expensive and generally available in 64 GB to 256 GB configurations.

SSDs have several advantages over HDD drives.



Speed
HDD disks use spinning platters of magnetic drives and read/write heads for operation. So start-up speed is slower for HDDs than SSDs because a spin-up for the disk is needed. Intel claims their SSD is 8 times faster than an HDD, thereby offering faster boot up times.


Benchmark statistics - small read/writes
  • HDDs: Small reads – 175 IOPs, Small writes – 280 IOPs
  • Flash SSDs: Small reads – 1075 IOPs (6x), Small writes – 21 IOPs (0.1x)
  • DRAM SSDs: Small reads – 4091 IOPs (23x), Small writes – 4184 IOPs (14x)
IOPs stand for Input/Output Operations Per Second


Data Transfer in an HDD vs. SSD
In an HDD, data transfer is sequential. The physical read/write head "seeks" an appropriate point in the hard drive to execute the operation. This seek time can be significant. 

The transfer rate can also be influenced by file system fragmentation and the layout of the files. Finally, the mechanical nature of hard disks also introduces certain performance limitations.

In an SSD, data transfer is not sequential; it is random access so it is faster. There is consistent read performance because the physical location of data is irrelevant. SSDs have no read/write heads and thus no delays due to head motion (seeking).


Reliability
Unlike HDD drives, SSD disks do not have moving parts. So SSD reliability is higher. Moving parts in an HDD increase the risk of mechanical failure. The rapid motion of the platters and heads inside the hard disk drive make it susceptible to “head crash”. 

Head crashes can be caused by electronic failure, a sudden power failure, physical shock, wear and tear, corrosion, or poorly manufactured platters and heads. Another factor impacting reliability is the presence of magnets. HDDs use magnetic storage so are susceptible to damage or data corruption when in close proximity with powerful magnets. SSDs are not at risk for such magnetic distortion.


Wear-out
When flash first started gaining momentum for long-term storage, there were concerns about wear-out, especially with some experts warning that because of the way SSDs work, there was a limited number of write cycles they could achieve. 

However, SSD manufacturers put a lot of effort in product architecture, drive controllers and read/write algorithms and in practice, wear-out has been a nonissue for SSDs in most practical applications.


Storage capacity
Until recently, SSDs were too expensive and only available in smaller sizes. 128 GB and 256 GB laptops are common when using SSD drives while laptops with HDD internal drives are typically 500 GB to 1 TB. Some vendors — including Apple — offer "fusion" drives that combine 1 SSD and 1 HDD drive that work seamlessly together.

However, with 3D NAND, SSDs are likely to close the capacity gap with HDD drives by the end of 2016. In July 2015, Samsung announced it was releasing 2TB SSD drives that use SATA connectors. While HDD technology is likely to cap out at about 10 TB, there is no such restriction for flash storage. In fact, in August 2015, Samsung unveiled the world's largest hard drive — a 16TB SSD drive.



Defragmentation in HDDs
Due to the physical nature of HDDs and their magnetic platters that store data, IO operations (reading from or writing to the disk) work much faster when data is stored contiguously on the disk. When a file's data is stored on different parts of the disk, IO speeds are reduced because the disk needs to spin for different regions of the disk to come in contact with the read/write heads. Often there is not enough contiguous space available to store all the data in a file. This results in fragmentation of the HDD. Periodic defragmentation is needed to keep the device from slowing down in performance.

With SSD disks, there are no such physical restrictions for the read/write head. So the physical location of the data on the disk does not matter as it does not impact performance. Therefore, defragmentation is not necessary for SSD.


Noise
HDD disks are audible because they spin. HDD drives in smaller form factors (e.g. 2.5 inch) are quieter. SSD drives are integrated circuits with no moving parts and therefore do not make noise when operating.


Components and Operation
A typical HDD consists of a spindle that holds one or more flat circular disks (called platters) onto which the data is recorded. The platters are made from a non-magnetic material and are coated with a thin layer of magnetic material. Read-and-write heads are positioned on top of the disks. 

The platters are spun at very high speeds with a motor. A typical hard drive has two electric motors, one to spin the disks and one to position the read/write head assembly. Data is written to a platter as it rotates past the read/write heads. The read-and-write head can detect and modify the magnetization of the material immediately under it.
Disassembled components of HDD (left) and SSD (right) drives.

In contrast, SSDs use microchips, and contain no moving parts. SSD components include a controller, which is an embedded processor that executes firmware-level software and is one of the most important factors of SSD performance; cache, where a directory of block placement and wear leveling data are also kept; and energy storage - a capacitor or batteries - so that data in the cache can be flushed to the drive when power is dropped. 

The primary storage component in an SSD has been DRAM volatile memory since they were first developed, but since 2009 it is more commonly NAND flash memory. The performance of the SSD can scale with the number of parallel NAND flash chips used in the device. A single NAND chip is relatively slow. 

When multiple NAND devices operate in parallel inside an SSD, the bandwidth scales, and the high latencies can be hidden, as long as enough outstanding operations are pending and the load is evenly distributed between devices.


1 comment:

  1. I Like to add one more important thing here, The Solid State Drive (SSD) Market is expected to be around US$ 69 Billion by 2025 at a CAGR of 15% in the given forecast period.

    ReplyDelete