chapter 44 - flash based SSDs Flashcards

1
Q

What are the three main types of flash memory cells and their trade-offs?

A

SLC (1 bit, fast & reliable), MLC (2 bits), TLC (3 bits, cheap but slow & less durable)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the basic structural units in flash memory?

A

Flash is organized into pages → blocks → banks/planes. Pages are the smallest read/write unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the three fundamental operations in flash memory?

A

Read (fast), Program (1→0 only), Erase (resets entire block to 1s, slow)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why can’t you overwrite a programmed page in flash memory?

A

You can’t change 0s back to 1s—must erase the whole block first

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the role of the Flash Translation Layer (FTL)?

A

Maps logical block addresses to physical flash pages and manages read/program/erase operations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What’s the main drawback of a direct-mapped FTL?

A

Write amplification and poor performance due to frequent block erases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the key idea behind a log-structured FTL?

A

Always write to the next free page and use a mapping table to track logical→physical locations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What causes garbage accumulation in SSDs?

A

Overwritten logical pages leave stale data behind that isn’t erased immediately

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is garbage collection in SSDs?

A

Process of moving live data, erasing blocks with invalid data, and reusing the blocks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the types of merges in hybrid FTLs?

A

Switch (fastest), Partial (some copying), Full (most expensive—copy from many blocks)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is wear leveling?

A

Spreads writes across flash blocks to prevent early failure of high-usage blocks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Difference between passive and active wear leveling?

A

Passive uses natural spread via logging

active relocates static data from low-wear blocks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly