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. Tabulate the Value and state of the memory, P's cache and Q's cache for the following protocols. i. Write- update Write-Through protocol ii. Write- Invalidate Write-Back protocol Updating X by processor P corresponds to the operation X= X+3, Updating X by processor C corresponds to the operation X= X - 3.

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter4: Processor Technology And Architecture
Section: Chapter Questions
Problem 2PE: If a microprocessor has a cycle time of 0.5 nanoseconds, what’s the processor clock rate? If the...
icon
Related questions
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 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.
Tabulate the Value and state of the memory, P's cache and Q's cache for the following
protocols.
i. Write- update Write-Through protocol
ii.
Updating X by processor P corresponds to the operation X= X+3, Updating X by processor Q
corresponds to the operation X= X - 3.
Write- Invalidate Write-Back protocol
Transcribed Image Text: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. Tabulate the Value and state of the memory, P's cache and Q's cache for the following protocols. i. Write- update Write-Through protocol ii. Updating X by processor P corresponds to the operation X= X+3, Updating X by processor Q corresponds to the operation X= X - 3. Write- Invalidate Write-Back protocol
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Types of Database Architectures
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning