Question: Consider a bus-based shared memory with two processors P and Q. Assume that X in memory was originally set to 5 and the following operations

Consider a bus-based shared memory with two processors P and Q. Assume that X in memory was originally set to 5 and the following operations were performed in the order given:(1) P updates X; (2) Q reads X; (3) Q updates X; (4) Q reads X; (5) Q updates X;(6) P updates X; (7) Q reads X. P Tabulate the Value and state of the memory, P's cache and Qs cache for the following protocols. i. Write-Invalidate Write-Through protocol ii. Write- Invalidate Write-Back protocol
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
