chapter 44 - flash based SSDs Flashcards
(9 cards)
What are the basic structural units in flash memory?
pages → blocks → banks
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)?
Translates logical block addresses to physical flash pages
manages read/program/erase operations
What’s the main drawback of a direct-mapped FTL?
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?
old data that is overwriten - garbage
What is wear leveling?
spread out write and erase operations evenly,
so no single block wears out too quickly
Difference between passive and active wear leveling?
Passive - moves rarely changed data blocks to high-wear blocks
active - spreads out new writes across blocks that have been erased the fewest times