Architecture 07 Flashcards

1
Q

What is memory hierarchy?

A

The levels of computer storage, ranging from small, fast and expensive storage (i.e registers) to large, slow and cheap storage (i.e disk)

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

How is memory hierarchy utilised?

A
  • Processing happens near top
  • Bring data up levels where needed
  • Bring new data down to non-volatile levels for safety/sharing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why are fast processors small?

A

The larger the distance the electric signals need to travel the greater the delay in transmission

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

Why is there a memory hierarchy?

A

• Processors need to be small and fast, but you can store large amounts of data here

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

What are the properties of storage mechanisms?

A
  • Access paradigm (serial vs random)
  • Volatility (keeping data without power)
  • Write-ability (write-once vs re-writable)
  • Latency vs bandwidth
  • Density (space requirements)
  • Energy usage (idle as well as in operation)
  • Dependability and error correction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the guiding principle of managing different memory technologies?

A
  • Keep currently/frequently used data in faster, more expensive memory
  • Keep other data in larger, slower memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a Virtual Machine?

A

A VM is a mechanism that hides the details of the underlying physical memory to provide a more convenient memory evnironment

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

What is a virtual address space?

A

These are addresses that a processor uses, where the MMU translates each address into an underlying physical memory.

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

Past Paper Question: What is a memory cache and why are caches so important in modern computer architecture?

A
  • A cache is placed on the path between a mechanism that makes requests and a mechanism that answers requests, and the cache is configured to intercept and handle all requests
  • It acts as high speed, temporary storage: it keeps a local copy of selected data, and answers requests from the local copy whenever possible
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Past Paper Question: What do the terms spatial locality and temporal locality mean in reference to memory accesses, and why are they important?

A
  • Spacial locality is where memory being accessed is often near memory accessed recently
  • Temporal locality is when accesses to the same area of memory tend to be grouped in time
  • These are important when a decent proportion of data we want is in fast memory already
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is meant by Direct Mapped?

A

This is a cache optimisation technique, where each chunk of data has just one place where it can be
• Cache is smaller than slower memory, so multiple chunks can be in that place

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

What is meant by Fully Associative?

A

This is a cache optimisation technique, where any chunk of data can be anywhere
• More complex data structure/hardware to look up whether a chunk is in cache

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