Memory Architecture Flashcards

1
Q

What is memory latency?

A

The time it takes to retrieve binary data from memory

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

DRAM vs SRAM

A

DRAM is slower, smaller, cheaper and needs refreshing whereas SRAM is faster, larger, expensive and doesn’t need refreshing

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

Cache vs RAM

A

Cache is faster, located closer to the CPU, expensive but is smaller compared to RAM

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

Does cache use SRAM or DRAM?

A

SRAM

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

List the levels of the memory hierarchy (fastest to slowest).

A

Cache (L1, L2, L3)
RAM
Secondary Memory

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

List the levels of Cache

A

L1 - Fastest, slower, and embedded within the CPU
L2 - Larger and can be embedded within the CPU
L3 - Supports L1 and L2, slower but larger

(As levels go down it gets slower but larger)

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

What is stored in RAM?

A

Programs, data, and addresses currently in use

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

What is Virtual memory and why is it used?

A

Logical memory that appears to exist in the RAM but is stored in SSD and HDD and it is used to run larger programs that cannot fit in the physical RAM

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

Cache Hit Vs Miss

A

A cache hit is when required data is found within the cache memory whereas cache miss is when data cannot be found and has to be found within physical memory

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

What is the formula to calculate number of locations within bus?

A

2^width of bus

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