chapter 44 - flash based SSDs Flashcards
What are the three main types of flash memory cells and their trade-offs?
SLC (1 bit, fast & reliable), MLC (2 bits), TLC (3 bits, cheap but slow & less durable)
What are the basic structural units in flash memory?
Flash is organized into pages → blocks → banks/planes. Pages are the smallest read/write unit
What are the three fundamental operations in flash memory?
Read (fast), Program (1→0 only), Erase (resets entire block to 1s, slow)
Why can’t you overwrite a programmed page in flash memory?
You can’t change 0s back to 1s—must erase the whole block first
What is the role of the Flash Translation Layer (FTL)?
Maps logical block addresses to physical flash pages and manages read/program/erase operations
What’s the main drawback of a direct-mapped FTL?
Write amplification and poor performance due to frequent block erases
What is the key idea behind a log-structured FTL?
Always write to the next free page and use a mapping table to track logical→physical locations
What causes garbage accumulation in SSDs?
Overwritten logical pages leave stale data behind that isn’t erased immediately
What is garbage collection in SSDs?
Process of moving live data, erasing blocks with invalid data, and reusing the blocks
What are the types of merges in hybrid FTLs?
Switch (fastest), Partial (some copying), Full (most expensive—copy from many blocks)
What is wear leveling?
Spreads writes across flash blocks to prevent early failure of high-usage blocks
Difference between passive and active wear leveling?
Passive uses natural spread via logging
active relocates static data from low-wear blocks.