








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Prof. Bhairav Gupta delivered this lecture at Ankit Institute of Technology and Science for Parallel Processing course. It includes: Multiprocessors, Cache, Coherence, Protocols, Snoopy, Directory, Pentium, Invalidate, Processors
Typology: Slides
1 / 14
This page cannot be seen from the preview
Don't miss anything!









Snoopy based protocols
-^
Directory based protocols
How are invalidates sent to the right processors?In snoopy caches, there is a broadcast media that listens to all invalidates andread requests and performs appropriate coherence operations locally.
A simple snoopy bus based cache coherence system. Tags
Snoop H/W
Processor Cache
Tags
Snoop H/W
Processor Cache
Tags
Snoop H/W
Processor Cache
DirtyAddress/data
Memory
MESI protocol of Pentium Processor
MESI State Diagrams
Initiating processor perspective
-^
Other processors perspective
Caused by other PEs cache controller snooping Activity on the bus
Read Hit
Write Miss
Example:
MESI protocol WorkingStep-by-step operations
Architecture of typical directory based systems: (a) a centralized directory (b) a distributed directory.
(a)
(b)
Directory
Data
State
Presence
Bits
ProcessorCache ProcessorCache
ProcessorCache
ProcessorCache
Interconnection Network
Interconnection Network
Memory
Presence
bits / State
ProcessorCache Memory
Presence
bits / State
docsity.com
Performance of
Directory Based Schemes
-^
The need for a broadcast media is replaced by the directory.
-^
The additional bits to store the directory may add significantoverhead.
-^
The underlying network must be able to carry all the coherencerequests.
-^
The directory is a point of contention, therefore, distributeddirectory schemes must be used.
-^
Quantify the memory required for the Directory
-^
techniques for efficient directory implementation