Question: A snooping cache coherence protocol is implemented such as the one discussed in class, in a symmetric shared-memory multiprocessor with 3 processors sharing a bus,

A snooping cache coherence protocol is implemented such as the one discussed in class, in a symmetric shared-memory multiprocessor with 3 processors sharing a bus, Describe the steps of the coherence protocol mentioning the eventual state of the data block in the caches of each of the 3 processors for each of the instructions below. Note that the caches are direct-mapped and that each cache block only stores one word and words X and Y map to the same cache block in each cache (i.e. X and Y can’t be both in the cache at the same time). Assume that at the beginning X and Y are not in any of the caches.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 Processor 1 P1 writes to X P1 sends a write request to the bus Other processors P2 and P3 snoop on ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!