Question: 3. (8 points) Assume a computer has three processors po, pl, p2. These processors share a global memory and each of them has its own

3. (8 points) Assume a computer has three processors po, pl, p2. These processors share a global memory and each of them has its own cache. Find out the value of variable x and its state after each operation in related processors. Assume the three-state (1.e. Shared, Dirty, Invalid) invalidate protocol (without directory) is used by the computer to maintain. Instruction at po Instruction at p1 Instruction atp2 x and its state at po x and its state at pl x and its state at p2 x and its state in global mem x=1,5 x= 1,5 x= 1,5 x=1, s read x x=x+1 x=x+1 x=x+2 read x 3. (8 points) Assume a computer has three processors po, pl, p2. These processors share a global memory and each of them has its own cache. Find out the value of variable x and its state after each operation in related processors. Assume the three-state (1.e. Shared, Dirty, Invalid) invalidate protocol (without directory) is used by the computer to maintain. Instruction at po Instruction at p1 Instruction atp2 x and its state at po x and its state at pl x and its state at p2 x and its state in global mem x=1,5 x= 1,5 x= 1,5 x=1, s read x x=x+1 x=x+1 x=x+2 read x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
