Chapter 4 Flashcards

The Memory Hierarchy: Locality and Performance

1
Q

Define

Principles of Locality

A

Observation that during the course of execution of a program, memory references by processor tend to cluster. Makes effective use of a memory hierarchy possible.

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

List

The 3 assertions Principle of Locality is based on

A
  1. During any interval of time, a program references memory location non-uniformly
  2. As a function of time, the probability that a given unit of memory is referenced tends to change slowly
  3. The correlation between immediate past and immediate future memory patterns is high and tapers off as time interval increases
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

List and define

The 2 forms of locality

A
  1. Temporal- refers to tendency of a program to reference in the near future those units of memory referenced in the recent past (Const, temporary variables, working stacks)
  2. Spatial- tendency to reference units of memory whose addresses are near one another. Also reflects tendency of program to access data locations sequentially
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

List

Key Characteristics of Computer Memory Systems

A

Location (internal and external)
Capacity
Unit of Transfer
Access Method
Performance
Physical Type
Physical Characteristic
Organization

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

Define

Unit of Transfer

In Memory System

A

Internal, equal to number of electrical lines in and out of memory module

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

List

Access Methods

In Memory System

A

Sequential
Direct
Random
Associative

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

List

Physical Types

In Memory System

A

Semiconductor
Magnetic
Optical
Magneto-optical

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

List

2 most important characteristics of memory

A

Capacity
Performance

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

List

3 performance parameters used for Capacity and Performance

In Memory System

A

Access Time (latency)
Memory Cycle Time
Transfer Rate

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

Define

Memory Cycle Time

In Memory System

A

Access time + any additional time before second access can commence. Concerned with system bus, not processor

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

List

Memory Design Constraint Questions

A

How much
How fast
How expensive

trade offs

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

Define

Inclusion Principle

In Memory System

A

Dictates that all information items are originally stored in level M_n, where n is the level most remote from the processor.

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