Week 2 - Memory Hierarchy Flashcards

1
Q

Why can’t registers by used for long term storage?

A

Very expensive and volatile

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

Why do computers need a memory hierarchy?

A

Large storage devices are slow to access, storage devices that are quick to access are far too expensive to be used to store large amounts of data.

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

What is a memory hierarchy?

A

Having multiple different memory devices, where the device with the quickest read/write times is the smallest, and as devices get slower their capacity gets larger.

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

Locality of reference

A

The tendency of a processor to access the same set of memory locations repetitively over a short period of time.

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

Temporal locality

A

The reuse of specific data and/or resources within a relatively small time duration.

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

Spatial locality

A

The use of data elements within relatively close storage locations

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