Use this to understand how NAND flash shapes SSD behaviour.
NAND Flash
NAND flash is the non-volatile memory inside SSDs. Data is written in pages and erased in larger blocks, and each cell survives a limited number of program/erase cycles, which shapes SSD behaviour.
1. NAND stores data in cells; writes wear them out.
2. Pages written, blocks erased.
3. FTL maps logical to physical.
4. More bits per cell = cheaper, less endurance.
5. Controller and firmware matter.
logical write → FTL → NAND page → erase block
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Treating all NAND types as equal in endurance.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Write in pages, erase in blocks.
- Limited program/erase cycles.
- Controller hides this with FTL.
nvme smart-log /dev/nvme0 | grep -i percentage_used— wearsmartctl -a /dev/sdX | grep -i -e wear -e nand— NAND writesnvme id-ctrl /dev/nvme0 | grep -i -e fr -e mn— model/firmware
ReferenceHow it works1 section · depth on demand
Pages, blocks and why it matters
- Data is written in pages (4–16 KB) but erased in blocks (hundreds of pages).
- A page cannot be overwritten in place; the SSD writes elsewhere and marks the old page invalid.
- Garbage collection later copies valid pages and erases blocks, which causes write amplification.
That is why TRIM, over-provisioning and free space keep SSDs fast, and why endurance is rated in TBW/DWPD.
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
NAND flash stores charge in cells organised into pages (4–16 KiB, the write unit) and blocks (hundreds of pages, several MiB, the erase unit). A page can only be written after its block is erased, so updates go to new pages and old ones are marked invalid.
Modern 3D NAND stacks 200–300+ layers vertically. Each program/erase cycle wears the oxide; cells holding more bits per cell need finer voltage levels and wear out sooner and read more slowly.
| Type | Bits/cell | Approx. P/E cycles |
|---|---|---|
| SLC | 1 | 50 000–100 000 |
| MLC | 2 | 3 000–10 000 |
| TLC | 3 | 1 000–3 000 |
| QLC | 4 | 500–1 500 |
Why SSDs slow down
NAND can only be written in pages but erased in whole blocks. When free blocks run out, the drive must move valid pages and erase blocks before writing (garbage collection), increasing write amplification and latency. Over-provisioning, TRIM and lighter write loads keep performance stable.
Terms
| Term | Meaning |
|---|---|
| Page | Smallest write unit (e.g. 16 KB) |
| Block | Smallest erase unit (hundreds of pages) |
| P/E cycle | Program/erase cycle |
| Write amplification | NAND writes ÷ host writes |
| Over-provisioning | Spare NAND not visible to the host |
| FTL | Flash translation layer mapping LBAs to NAND |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Physical Storage Media → SSD → NAND Flash. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://nvmexpress.org/specifications/ · confidence 94%