17 - Memory and Cache Flashcards

1
Q

What does the maximal memory size depend on?

A

The address width.

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

What is the address width determined by ?

A
  • The number of bits in the CPU address registers ie IP

- The number of lines in the address bus.

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

What’s the maximal memory size with a 32 bit address width (x86)

A

4 Gb (2^32 = ~4 bn = 4 Gb)

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

What are the slots that hold the memory cards called and how many memory chips do they hold?

A

Modules, and they hold more than a handful of them at least.

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

What are the 4 levels in the memory ?

A
  • Registers
  • Cache memory (level 1 and 2)
  • Main memory
  • Mass storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does the cache work and where is it placed ?

A

It’s placed between the CPU and the main memory.

When the CPU requires information from the memory it first checks the cache which contains some copied cells of the main memory.

If not found, the block of memory containing the info and some of the blocks surrounding it are moved to the cache.

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

What is the ‘Localisation of Memory Access’ principle ?

A

That the next cell to be accessed usually resides close by to the one currently being accessed, so keep blocks of data as near as possible to the CPU.

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

Give a memory hierarchy pyramid ?

A
CPU Registers
L1 Cache Memory
L2 Cache Memory
Main Memory
Disk Cache
Disk Storage
Tape Backup
How well did you know this?
1
Not at all
2
3
4
5
Perfectly