Lecture Slides On Instruction Set Architecture and Memory Design
Lecture Slides On Instruction Set Architecture and Memory Design
Memory
Memory
Virtual Memory (Hard Disk and Tape)
• The objective behind designing a memory hierarchy
is to have a memory system that performs as if it
consists entirely of the fastest unit and whose cost
is dominated by the cost of the slowest unit.
• The memory hierarchy is characterized by a number
of parameters. Among these parameters are:
i. The access type ii. Capacity
iii. Cycle time iv. Latency
v. Bandwidth vi. cost.
• The term access refers to the action that physically
takes place during a read or write operation.
• The capacity of a memory level is usually
measured in bytes
• The cycle time is defined as the time elapsed
from the start of a read operation to the start of a
subsequent read.
• The latency is defined as the time interval
between the request for information and the
access to the first bit of that information.
• The bandwidth provides a measure of the
number of bits per second that can be accessed.
• The cost of a memory level is usually specified as
dollars per megabytes.
Typical memory hierarchy
CPU Registers
Cache
Latency Speed
Bandwidth Main Memory cost per bit
Secondary Storage
Tertiary Storage
Capacity (Megabytes)
Access type Capacity Latency Bandwidth Cost/MB