SRAM and flash memory
Which correctly describes garbage collection in an SSD?
- AMoving valid data out of blocks that contain invalid data, then erasing those blocks to create free space
- BRemoving computer viruses
- CCompressing data
Show answer and explanation
Answer: A. Moving valid data out of blocks that contain invalid data, then erasing those blocks to create free space
NAND cannot overwrite in place and erases only by block, so each rewrite leaves the old version behind as an invalid page. The controller picks blocks with many invalid pages, moves their valid data to another block, and erases them to create free space. These extra copies cause write amplification, and the fuller the drive, the more often garbage collection runs and the more write performance suffers.