Professional Documents
Culture Documents
CM 303
CM 303
ANDHRA PRADESH
Name : U.Rajya Lakshmi
Designation : Lecturer
Branch : Computer Engg.,
Institute : Govt.Polytechnic for Women,
PALAMANER.
Year/Semester : III Semester
Subject : Computer Architecture
Subject Code : CM-303
Topic : Memory Organization
Duration : 50 Min
Sub Topic : Cache Memory
Teaching aids : PPT,drawings
CM303.46 1
Do you Know
CM303.46 2
Objectives
CM303.46 3
Cache memory
CM303.46 4
Introduction
CM303.46 5
Cache memory
Contd.,
CM303.46 6
Cache memory Contd.,
CM303.46 7
Cache Memory
Contd.,
Cache Main
CPU
memory memory
Fig.1
CM303.46 8
Cache memory Contd.,
• Locality of reference
• References to memory at any given interval of time
tend to be confined with in a few localized areas in
memory
CM303.46 9
Cache memory
Contd.,
CM303.46 10
Operation of Cache memory
Contd.,
• When CPU needs to read an instruction or data
from memory, the cache is examined first
CM303.46 11
Performance of Cache memory
Contd.,
• Performance of cache is measured in terms of
hit ratio
• If the required word is found in cache, it is called
hit
• If the required word is not found in cache, it is
called miss
• Hit ratio = no. of hits / total no. of references to
memory
CM303.46 12
Summary
CM303.46 13
QUIZ
CM303.46 14
1. Fundamental idea of Cache memory organization
is
a) Paging scheme
b) Segmentation scheme
c) Locality of reference
CM303.46 15
1. Fundamental idea of Cache memory organization
is
• Paging scheme
• Segmentation scheme
• Locality of reference
CM303.46 16
2. The performance of cache is measured in terms of
a) KBps
b) Block numbers
c) Kbps
d) Hit ratio
CM303.46 17
2. The performance of cache is measured in terms of
a) KBps
b) Block numbers
c) Kbps
d) Hit ratio
CM303.46 18
3. Hit ratio is defined as
CM303.46 19
3. Hit ratio is defined as
CM303.46 20
Essay type Questions
CM303.46 21
Short answer Questions
CM303.46 22
Assignment Questions
CM303.46 23