How an SSD works and why it completely changes your computer

  • The SSD replaces the mechanical hard drive using non-volatile NAND flash memory, with no moving parts and very low access times.
  • Its internal architecture is based on SLC, MLC, TLC or QLC blocks, pages and cells, which determine speed, durability and price.
  • The connectors and protocols (SATA, PCIe, NVMe, M.2) determine the actual performance ceiling and compatibility with your equipment.
  • Choosing the right SSD involves considering capacity, TBW, memory type, and intended use, combining it, if necessary, with an HDD for mass storage.

SSD disk and internal operation

In recent years the Solid state drives have become the star component to revive computers that seemed destined for retirement. Replacing a mechanical hard drive with an SSD is, literally, like having a brand new computer: The system starts up in seconds.Programs open almost instantly and games load much faster.

However, behind that brutal performance improvement there is much more to it than meets the eye. Understanding how an SSD works on the insideKnowing what types exist, what real limitations they have, and how to choose the most suitable one for your case is key if you want to maximize your money and avoid surprises in the medium term.

Memory in a computer: cache, RAM and storage

To put things in perspective, it's helpful to remember that a PC doesn't have just one type of memory, but several levels with very different speeds and functionsEach one is another step in the memory hierarchy.

At the very top is the processor cache memoryIt's a few megabytes integrated into the CPU itself, with extremely short electrical paths and nanosecond access times. It's tiny but ultra-fast; that's why it's constantly being rewritten with the data the CPU needs "right now."

The next step is the RAMIt is also very fast, although somewhat slower than the cache. Data is stored in RAM. the programs and data that are being used at that momentThe operating system, the browser, the game, the photo editor... When you turn off the computer, everything that was in RAM is lost because it is volatile memory.

Finally we have the mass storage unitThis is where your operating system, applications, games, documents, photos, music, and any other files you want to keep even when your computer is turned off reside. Traditionally, this role was filled by a mechanical hard drive (HDD)But today, the SSD is the almost absolute star.

The performance difference between these levels is enormous. While cache and RAM operate in nanoseconds, a traditional HDD operates in milliseconds. That makes storage the main bottleneck of a PCIt doesn't matter if you have a lot of RAM or a good CPU, if the hard drive is sluggish, the whole system feels slow.

What exactly is an SSD?

An SSD (Solid State Drive) is a storage unit based on non-volatile flash memory chipsUnlike an HDD, there are no rotating platters or moving heads, but integrated circuits that store information using electrical charges in structures called cells.

This flash memory is of the type NANDa distant relative of the type used in USB flash drives or SD cards, but optimized for support millions of read and write operations with good performance. The important thing here is that, being non-volatile memory, the SSD It retains the data even if you turn off the computer or the power goes out., without the need for batteries or backup power.

In summary: an SSD fulfills the same role as an HDD (storing data long-term), but it does so with a fully electronic technologymuch faster, quieter, lighter and more resistant to shocks or vibrations.

SSD vs. HDD: Two Opposing Philosophies

SSD vs HDD comparison

To fully understand how an SSD works, it's helpful to compare it to a... traditional hard drivebecause internally they are nothing alike.

How a mechanical HDD works

A classic hard drive consists of one or more metal plates coated with magnetic material that spin at high speed (5.200, 7.200 or even 10.000 rpm in high-end models). A read/write head, an electromagnet, moves over these platters. changes the magnetic orientation of tiny areas of the disk to represent bits 0 and 1.

When the system needs to read a file, the disk controller Position the head on the appropriate track and wait for the platter to rotate to the specified point. where the data begins. This implies mechanical movement and unavoidable seek times, especially when the data is fragmented across several areas of the disk.

This design has clear advantages: HDDs offer A lot of capacity at a low price and a very stable magnetic memory over time. But they also have disadvantages: they are slow at randomThey generate noise and vibrations, consume more energy, and are much more delicate when faced with shocks or sudden movements, especially in laptops.

How an SSD works

In an SSD, nothing spins or physically moves. The data resides in NAND memory cell arrays managed by an electronic controller. Access to any position is virtually instantaneous and there's no need to wait for anything to move, so Access times plummet and performance skyrockets.

This explains the sensations we all experience when switching from an HDD to an SSD: the system boots in just a few seconds, applications open instantly, and games drastically reduce their loading times. Furthermore, with no moving parts, SSDs are Silent, lightweight, and highly resistant to impacts.

The flip side of the coin is that flash memory has a limited lifespan in number of deeds per cell and that the price per gigabyte is still higher than in an HDD, although the difference has been greatly reduced in recent years.

Anatomy and internal workings of an SSD

internal structure of SSD unit

To truly understand how an SSD works, you need to delve into the details of its construction. Inside, although from the outside it looks like a simple 2,5-inch "brick" or an M.2 card, it's composed of several key elements that work together.

NAND flash memory and cell gates

The heart of an SSD is the chips of NAND flash memoryEach chip is made up of millions of floating gate transistorswhich are what store the bits. At a very high level, each transistor can be electrically charged or discharged: One state represents 0 and the other 1In multibit memories, different load levels are used to represent several bits per cell.

These transistors are arranged in a matrix. The rows are called pages (page) and the sets of pages form blocksA typical page can have between 2 KB and 16 KB of capacity, and a block can group hundreds of pages, giving total block sizes of hundreds of KB to several MB.

Furthermore, manufacturers have evolved from "flat" memories to 3D NAND memoryby stacking many layers of cells vertically within the same silicon chip. The more layers, higher storage density per chip and, consequently, higher capacity disks in the same physical space.

Blocks, pages, and the writing problem

One of the most important details about how an SSD works is that You cannot directly overwrite a specific page that already contains data.You can only write to empty pages within a block. To modify information, the controller must:

First, copy the still valid pages of the block to a temporary memory areaNext, delete the entire block (you can't delete just one page). Finally, rewrite the valid pages plus the new data in the block, leaving blank pages for future writing.

This process involves extra work and wear and tear on the cells, hence Internal management of what is written and where is fundamental for disk performance and lifespan. When the drive is almost full and there are few free pages scattered about, these operations become more expensive and the SSD may lose performance.

Controller, DRAM, and internal algorithms

In addition to memory chips, every SSD incorporates a controllerwhich is essentially its "brain". This chip is responsible for translate operating system requests (read and write logical sectors) in operations on NAND physical pages and blocks.

The controller manages tasks such as wear leveling so that they all wear evenly, error correction through ECC (Error Correction Code), the handling of bad blocks, cache management and the implementation of functions such as TRIM.

Many SSDs also integrate a chip of own DRAM memory which functions as a cache: it stores frequently used user data and, above all, the internal tables that map the operating system's logical blocks to the physical pages of the NAND. Drives without DRAM are cheaper but They have worse access times and random performanceespecially when the disk is quite full.

Types of flash memory in SSDs: SLC, MLC, TLC, and QLC

Not all NAND flash memory is the same. Depending on How many bits does each cell store? We changed capacity, speed, durability and, of course, price.

SLC (Single Level Cell)

The SLC NAND saves one bit per cellEach transistor only has two possible states (0 or 1), which makes them easy to distinguish electrically and offers the highest speed and the longest lifespan of all types of flash memory.

Their problem is that the data density per chip is low and the cost per GB is very high. That's why SLC is barely seen in domestic consumption and is reserved for very demanding environments such as industrial systems or critical professional storage.

MLC (Multi Level Cell)

In MLC each cell stores 2 bitsTherefore, it can represent four distinct states. Gaining density reduces the cost per gigabyte compared to SLC, at the expense of slightly lower performance and fewer write cycles per cell.

For years it was the sweet spot for high-end SSDs, although today most of what you see in stores is for regular users. It has shifted towards TLCcheaper to manufacture.

TLC (Triple Level Cell)

The current standard in consumption is TLC, where each cell stores 3 bits (eight possible states). It allows for the manufacture of high-capacity SSDs at reasonable prices, but it implies greater complexity in reading/writing such finely tuned load levels and reduces durability compared to MLC or SLC.

Even so, thanks to improved controllers, error correction algorithms, and especially the availability of replacement cells, this is a good TLC SSD for the average user. It withstands many years of normal use without problems.In fact, in stress tests, some drives have survived more than 2 petabytes written, something a typical user won't achieve for decades.

QLC (Quad Level Cell)

QLC takes it a step further and introduces 4 bits per cellThat is, sixteen states. The density skyrockets and the cost per GB drops even further, but the cell becomes much more fragile: the margin between voltage levels is very narrow and the number of supported write cycles is drastically reduced.

In practice, a QLC NAND flash can cost around one hundred complete writings per cell before degrading, so their natural terrain is high-capacity drives for mostly static dataVideo libraries, backups, cold storage, etc. Reads don't wear out the cell, so as long as you're not subjecting the drive to massive writes, it can last for years.

Connections, physical formats and protocols: SATA, PCIe, NVMe, M.2…

Besides the internal components of the memory, the speed of an SSD depends heavily on how it connects to your computer and what protocol it uses to communicate with the system.

SATA drives (2,5″, mSATA and similar)

The first popular SSDs mimicked the shape of a 2,5-inch hard drive and connected via SATA IIIThis interface, inherited from the HDD world, offers a theoretical maximum of 6 Gbps (approximately 600 MB/s effective)which today has fallen short compared to what modern NAND memory allows.

Although SATA SSDs are now a "mature" technology, they are still a fantastic option for older equipment They lack M.2 NVMe slots. They are easy to install, compatible with almost any motherboard, and offer a significant improvement over an HDD, although their speed ceiling is far from that of PCIe drives.

PCI Express and the NVMe protocol

To bypass the SATA limitation, SSDs began to be connected directly to the bus. PCI-Express (PCIe)...the same one used by graphics cards. Here, communication no longer goes through the old AHCI protocol, designed for mechanical hard drives, but through one designed from scratch for flash memory: NVMe (Non-Volatile Memory Express).

NVMe over PCIe allows multiple command queues in parallel and thousands of simultaneous requestsby fully exploiting the parallel nature of NAND memory. In practice, a good NVMe PCIe 3.0 x4 SSD can exceed 3.000-3.500 MB/s sequential readAnd PCIe 4.0 models practically double that figure, reaching 7.000 MB/s in high-end models.

Many of these high-performance NVMe drives incorporate heat sinks Because moving such a large amount of data can cause the controller to get quite hot. Keeping the temperature under control helps both maintain performance and extend its lifespan.

M.2 format: the current standard

m2 nvme ssd card

The most widespread physical format today is M.2a small, elongated card that screws directly onto the motherboard. It's important not to confuse concepts here: M.2 is just the formatHowever, an M.2 drive can communicate via SATA or NVMe and use PCIe lanes.

M.2 SATA drives perform the same as 2,5" SATA SSDs, only in a more compact form factor. M.2 NVMe drives, on the other hand, They use the PCIe bus (x2, x4…) and the NVMe protocol, reaching speeds of 3.500 MB/s with PCIe 3.0 and easily 5.000 MB/s more with PCIe 4.0.

These cards are sold in different lengths: 2230, 2242, 2260, 2280, 22110… The first two digits indicate the width (almost always 22 mm) and the rest the length in millimeters. Before buying, it is advisable Look at your motherboard's specifications sheet. what sizes it supports and whether the M.2 slot supports SATA, NVMe or both.

Main advantages of using an SSD

Let's get to what you'll really notice in everyday use. Switching from an HDD to an SSD brings a a battery of very clear advantages:

First, the read and write speed It's far superior. Even a basic SATA SSD multiplies the performance of a mechanical hard drive several times over; an NVMe SSD is in a completely different league. The practical result is much faster system startups and program loading.

Furthermore, having no moving parts, SSDs They do not suffer from blows or movementsOn a laptop that travels daily in a backpack, train, plane, or satchel, this is pure gold: many sudden HDD deaths come from a head touching a platter in mid-spin after a bump.

They are also lighter, more compact and completely silentAn SSD does not vibrate, buzz, or generate much heat during normal use, contributing to thinner, lighter devices with less overall noise.

Another point in favor is the lower energy consumptionFor a laptop, this translates to some extra battery life, and for servers or data centers, to lower electricity consumption and less cooling requirement.

Finally, being insensitive to magnetism and not dependent on magnetic disks, They are not affected by external magnetic fields as could theoretically occur with purely magnetic media.

Disadvantages and limitations of SSDs

Of course, it's not all good news. SSDs also have their drawbacks, and it's worth knowing them to avoid unpleasant surprises.

The most well-known is that Its useful life is linked to the number of deeds that the memory cells support. Each time a cell is programmed and erased, its electrical resistance changes slightly and requires more voltage, until it reaches a point where It is no longer possible to write on it reliably..

However, manufacturers reserve extra cells to replace those that fail, and the controllers distribute write operations across the entire drive (wear leveling), so in real-world use, even a consumer SSD can last for years. The key is to avoid excessive and constant write operations (for example, continuous 24/7 4K video recording) on ​​models designed for general users.

Another obvious disadvantage is the price per gigabyteAlthough it has dropped significantly, it is still more expensive to fill several terabytes with SSDs than with HDDs. For those who want to store huge video libraries, historical backups, or data they rarely access, An HDD remains unbeatable in cost/capacity.

It should also be mentioned that Recovering data from a damaged SSD is much more complicated. than doing it from an HDD. The logical data mapping is highly fragmented internally and constantly shifts to compensate for wear, so recovery tools have a much harder time. This is where backups go from recommended to essential.

Finally, although the maximum capacity of SSDs has grown to enormous figures (100 TB models have already been introduced for professional use), the consumer market is dominated by drives of 512 GB, 1 TB or 2 TB4 TB drives are becoming commonplace, but the price is still considerably higher than their HDD equivalents.

TRIM, garbage collection and actual durability

We've briefly mentioned the problem that SSDs can only write to empty pages. To minimize the impact of this and improve durability and performance, two key components come into play: TRIM and garbage collection.

When you delete a file in the operating system, you actually The data on the drive is not immediately deletedTRIM simply marks the space as free in the file system. Without TRIM, the SSD wouldn't know which blocks to treat as truly empty, complicating its internal cleanup tasks.

The command TRIM allows the operating system to inform the SSD which blocks no longer contain useful data. This way, when the drive needs space, it can delete those pages directly in the background, reducing the number of program/erase cycles required in future writes.

La garbage collection It's the internal process by which the SSD reorganizes valid data, consolidates useful pages, and cleans up blocks marked as unused, all without the user noticing. With a good implementation of TRIM and GC, this is achieved. maintain the most stable performance over time and better protect the life of the cells.

How to choose the right SSD for your computer

If after all this you're sure you want (or need) an SSD, it's time to look at... What factors should you consider before taking out the card?.

Required capacity and combination with HDD

The first thing is to be honest about your needs: how much actual storage space are you using right now? For most users, an SSD of 500GB or 1TB This is sufficient for the system, programs, and most of your frequently used data. If you work with a lot of video, virtual machines, or very demanding games, you might want to consider upgrading to 2 TB.

A very common strategy is combine a fast SSD for the system and applications Use a large, inexpensive HDD to store files you access occasionally: movies, old backups, huge photo libraries, etc. This way you get the best of both worlds.

Compatible interface and format

Before buying anything, it's a good idea to open the PC (or check the laptop's technical specifications) and confirm. what your team acceptsDo you have any free 2,5" bays for SATA SSDs? Are there any M.2 slots compatible with NVMe? Are there any size limitations such as 2230/2242/2280?

If your motherboard only has SATA ports, any 2,5" SATA SSD will work, and you'll notice a huge performance jump compared to an HDD. If you have M.2 NVMe available, it's worth opting for a PCIe NVMe drive because The difference in performance, especially in large transfers, is enormous..

Performance: Speeds and IOPS

Manufacturers primarily advertise the sequential speeds (MB/s read and write). These are useful for getting an idea of ​​the theoretical ceiling, but in day-to-day use, the following also play a significant role: random reads/writes, measured in IOPS (input/output operations per second) and latency.

In general, any modern SSD offers a giant leap compared to an HDD, but if you want to fine-tune things or use the computer for intensive work, it's worth looking at independent tests and compare models in real-world tasks beyond the marketing figure.

Durability: TBW, P/E cycles and MTBF

The durability of an SSD is usually expressed in several metrics. The most useful for the user is TBW (Terabytes Written): how many terabytes of data can be written to the drive before the manufacturer considers it to have reached the end of its design life.

Another figure is the MTBF (Mean Time Between Failures), which indicates the number of hours of expected operation between failures, and the P/E (program-erase) cyclesThese are the maximum write/delete cycles per cell. These are rarely specified because they are less intuitive.

In current consumption models it is common to see 3 to 5 year warranties And TBW is sufficient so that, even writing tens of gigabytes daily, it will take you much longer than that to fill them up. For the average user, the reliability of a good modern TLC SSD is more than enough.

Controller, NAND type, and DRAM cache

If you want to fine-tune things a bit more, take a look at the type of NAND (TLC, QLC…), the controller that mounts the unit and if it carries DRAM cacheA TLC SSD with DRAM will generally be more consistent and faster than a QLC SSD without DRAM, although there are exceptions depending on the range.

It is also interesting to review the manufacturer's markConsider the opinions of other users and the software support it offers (cloning tools, health monitoring, firmware updates, etc.). At the same price, a well-established brand with good support is a much more sensible choice.

Internal or external SSD? When is each option worthwhile?

Another point to consider is whether you are more interested in a Internal or external SSDThe internal one connects directly to the motherboard (SATA or M.2) and is ideal for install the operating system and leave it permanently installed on the device.

External SSDs, on the other hand, come in an enclosure and connect via USB 3.x, USB-C, Thunderbolt or eSATAThey are perfect for transporting projects from one place to another, carrying game libraries, or as a fast, pluggable work disk for different computers.

A boarder usually offers slightly better performance and lower latencyEspecially if it's NVMe, but it requires opening the computer to install it. An external drive is plug & play and very versatile, in exchange for depending on the port speed (USB 2.0 is not the same as a modern Thunderbolt).

In any case, both internal and external ones share the same foundations: non-volatile NAND memory and absence of mechanical partswhich translates into safety against impacts and good performance.

In the end, SSDs have gone from being an expensive luxury to becoming the de facto standard for main storage In laptops and desktops, and the technology keeps evolving: more layers of 3D NAND, new PCIe standards, smarter controllers, and increasingly competitive prices. Understanding how they work internally and what factors influence their performance and lifespan allows you to choose wisely and, above all, to get the most out of that "new" computer feeling that only a good SSD can give you.

M1 features
Related article:
Problems in some SSDs of the Mac M1 could even damage the computer itself