What memory has no moving parts?

Introducing Solid-State Drives

A solid-state drive (SSD) is a storage device that uses integrated circuit assemblies to store data persistently. It uses flash memory and has no moving mechanical parts, unlike traditional hard disk drives (HDDs) that store data on rotating disks with read/write heads.

SSDs were first introduced in the 1950s for mainframe computers. The first commercially available SSD was introduced in 1991 by SanDisk. However, SSD adoption did not accelerate until 2007 when flash memory became more affordable and capacities increased, making SSDs a viable alternative to HDDs for consumer devices.

Compared to HDDs, SSDs are typically more durable, quiet, compact, and energy efficient due to the lack of moving parts. SSDs also offer much faster read/write speeds, lower latency, and better reliability. However, SSDs tend to be more expensive per gigabyte compared to HDDs and have limited capacities. Lifespans are also dependent on wear from writes.

How SSDs Store Data

SSDs use NAND flash memory to store data. NAND flash gets its name from the NAND logic gate that is used in its design. It is a type of non-volatile memory, meaning data is retained even when power is removed (Source).

The basic building block of NAND flash memory is the floating gate transistor or cell. Each cell can store one bit of data. Cells are grouped together into pages, which are further grouped into blocks. To write data, electrons are injected onto the floating gate, changing the cell’s threshold voltage. To read data, the threshold voltage is measured to determine if the cell is storing a 1 or 0 (Source).

Multi-level cell (MLC) NAND stores multiple bits per cell by having multiple threshold voltage ranges per cell. This allows higher densities but reduces performance and longevity. Single-level cell (SLC) NAND stores just 1 bit per cell, providing better performance and endurance.

Advantages of SSDs

SSDs have several key advantages over traditional hard disk drives (HDDs):

Faster read/write speeds – SSDs have no moving parts and can access data almost instantly, resulting in much faster read and write speeds compared to HDDs. Typical SSDs today have sequential read/write speeds over 500 MB/s while HDDs max out around 100-200 MB/s.

Lower latency – The lack of moving parts also means extremely low access times and latency. SSDs can access data in microseconds rather than the milliseconds required for HDDs to move heads and wait for the disk to spin.

Higher throughput – With their faster speeds, SSDs can achieve much higher I/O operations per second (IOPS). This is important for highly random read/write operations.

More reliable and durable – Having no moving parts makes SSDs more resistant to shock, vibrations, and extreme temperatures. They are less prone to mechanical failure over time.

Smaller size – SSDs come in much more compact form factors while providing equivalent or greater storage capacity compared to HDDs. This allows for smaller, thinner and lighter devices.

According to TechTarget, SSDs are considered much faster than even the highest performing HDDs. Latency is also substantially reduced, and users typically experience much faster boot times.

Disadvantages of SSDs

While SSDs have many advantages over traditional HDDs, they do come with some drawbacks that users should be aware of:

SSDs tend to be more expensive per gigabyte compared to HDDs. As of early 2023, most SSDs cost around $0.10 – $0.25 per GB, while HDDs are closer to $0.03 – $0.06 per GB (Pros and Cons of Solid State Drives (SSD’s)). The higher cost comes from the more advanced technology and materials needed to produce SSDs.

Another downside is that SSDs have a limited number of write cycles. The individual memory cells that store data in an SSD can only be overwritten a finite number of times before they can no longer reliably store data. Most consumer SSDs are rated for anywhere from a few hundred to a few thousand write cycles (SSD vs. HDD: Which Do You Need?). In contrast, HDDs do not have this limitation on write cycles.

To maximize the lifespan of an SSD, users should avoid excessive writes and unnecessary defragmentation. Enabling the TRIM command can also help clear invalid data blocks and ensure optimal performance.

SSD Interfaces

SSDs connect to computer systems through various interfaces that enable data transfer. The main interfaces for SSDs include:

SATA

The Serial ATA interface is the most common interface for SSDs. SATA is backwards compatible with older Parallel ATA and has speeds up to 600MB/s for SATA III. Most consumer SSDs use the SATA interface (An Introduction to SSD Interface).

PCIe

PCI Express (PCIe) offers much higher speeds, lower latency, and greater bandwidth compared to SATA. NVMe SSDs utilize the PCIe interface for extremely fast data transfers. PCIe 4.0 SSDs can reach speeds over 7000MB/s (SSD Interfaces: SAS vs. SATA vs. NVMe).

NVMe

Non-Volatile Memory Express (NVMe) is a protocol that utilizes the PCIe interface. NVMe SSDs provide the fastest speeds with low latency and parallelism. NVMe is the interface of choice for high performance SSDs.

U.2

The U.2 interface (formerly known as SFF-8639) allows PCIe/NVMe SSDs to fit into the same slots as SATA drives using a PCIe to U.2 converter cable.

mSATA

The mSATA interface is a smaller form factor version of the SATA interface designed for smaller devices like notebooks. mSATA SSDs are not as common today.

SSD Form Factors

SSDs come in various physical form factors that are designed to fit different types of devices and computing needs. The most common form factors are:

2.5-inch

The 2.5-inch form factor is the most popular type of SSD. It uses the same physical dimensions as 2.5-inch hard disk drives, allowing it to fit into laptops and desktops with 2.5″ drive bays. 2.5″ SSDs come in various storage capacities up to 4TB and connect via SATA or PCIe interfaces (Kingston).

M.2

The M.2 form factor is a small, thin circuit board that can be installed directly into a compatible M.2 slot on a motherboard. M.2 SSDs provide very high data transfer speeds through PCIe interfaces. Common sizes for M.2 SSDs are 2280 and 2242 (TechTarget).

Add-in Card

Add-in card (AIC) form factor SSDs fit into a PCIe slot on a computer’s motherboard. They are less common but provide extremely fast data transfer speeds as they connect directly to the PCIe bus. Enterprise applications and high-end workstations sometimes use AIC SSDs (Crucial).

SSD Cache

SSD caching, also known as hybrid drives, aims to combine the speed of SSDs with the storage capacity of traditional hard disk drives (HDDs) (Source). In hybrid drives, a small SSD is used as a cache for frequently accessed data, while a larger HDD stores less frequently accessed data. This improves overall system performance and boot times compared to using just an HDD.

Some examples of hybrid SSD caching technologies include:

  • Intel Smart Response Technology (SRT) – Uses an SSD as cache for an HDD in desktop computers
  • AMD StoreMI – Similar to Intel SRT, but for AMD platforms

Hybrid drives aim to give users most of the performance benefit of SSDs but at a lower cost compared to a full SSD configuration. However, because frequently accessed data still needs to be copied from the HDD to the SSD cache, hybrid drives don’t reach the performance levels of pure SSD configs (Source). Still, for budget-focused builds, hybrid SSD caching provides a nice compromise between cost and performance.

SSD Lifespan

SSD lifespan is determined by the number of program-erase cycles the NAND flash memory cells can endure before they can no longer retain data reliably. The lifespan of an SSD is heavily dependent on how the drive is used and cared for.

Write amplification refers to the phenomenon where the actual amount of data written to an SSD is a multiple of the logical data written by the host system. This amplification occurs due to garbage collection, wear leveling, and error correction. Minimizing write amplification can help extend SSD lifespan. Enabling the TRIM command and maintaining at least 20% free space on the drive helps reduce write amplification (source).

Wear leveling is a technique used by SSD controllers to distribute writes evenly across all the flash blocks in the SSD. This prevents any single block from wearing out prematurely. The SSD controller handles wear leveling automatically in the background.

The TRIM command allows the operating system to notify the SSD which blocks of data are no longer in use and can be wiped internally. This minimizes write amplification and increases performance. Enabling TRIM is important for maximizing SSD lifespan (source).

In addition, minimizing unnecessary writes by disabling features like hibernation can help extend SSD lifespan. Keeping the firmware up to date, monitoring health metrics, and maintaining free space are other ways to maximize the lifespan of an SSD.

SSD Security

Data security and protection is a top concern for SSD users. Unlike traditional hard disk drives (HDDs), SSDs include built-in encryption capabilities to secure data at rest and in transit (How SSDs Are Changing the Data Security Landscape). Many SSDs utilize AES 256-bit hardware encryption to encrypt all data written to the drive by default. The data is decrypted on-the-fly when read back by an authorized user, providing seamless protection (Encryption and Security Development in Solid State Storage Devices (SSD)).

In addition to encryption, SSDs offer instant and secure data erasure capabilities not found in traditional HDDs. Techniques like crypto erase and block erase can sanitize an SSD in seconds, wiping all data by cryptographically scrambling the encryption keys. This is much faster than the multi-pass overwrite required to securely erase a HDD (The Best Secure SSDs and Hard Drives for 2024).

Overall, native encryption and fast sanitization give SSDs a clear security advantage for sensitive data storage and protection against unauthorized access.

The Future of SSDs

SSD technology continues to evolve rapidly to meet the growing demands for fast, reliable storage. Some key trends shaping the future of SSDs include:

3D NAND

3D NAND is the latest generation of flash memory cells, stacked vertically to achieve greater storage density per chip. 3D NAND enables SSDs with larger capacities but without sacrificing performance or endurance. Major SSD manufacturers like Samsung and Micron already offer 3D NAND drives.1

PCIe 4.0

PCIe 4.0 doubles the transfer speed of the PCIe interface to around 8GB/s. This allows new SSDs to maximize the capabilities of the PCIe bus. AMD already supports PCIe 4.0 on their Ryzen 3000 platform, while Intel is expected to add support soon.2

QLC NAND

QLC (quad-level cell) NAND fits 4 bits per flash cell instead of the typical 3 with TLC. This increases density and lowers cost, but has tradeoffs for performance and endurance. Intel, Micron and Toshiba are leading the push for QLC SSD adoption.3

New Form Factors

As flash storage densities increase, smaller SSD form factors are emerging, like M.2 and mSATA. These compact SSDs use less space and power, making them ideal for ultrabooks and small form factor systems. Expect continuing innovation in SSD form factors and interfaces.