Question about snooping protocol (MSI): If Core0 has a modified data and Core 1
ID: 3719986 • Letter: Q
Question
Question about snooping protocol (MSI): If Core0 has a modified data and Core 1 wants to read it, Core0 first drops to shared state and writes it back (15 cycles of stall), and provide the data to Core1(40 cycles of stall). So Core1 stalls for 55 cycles to get the data. But does Core0 stall for exactly the same time? When Core0 writes back on the bus, and continues to execute, the request from Core1 is fulfilled and Core0 does not care about it anymore. So I suppose Core0 stalls for only 15 cycles. Is this right?
Explanation / Answer
Solution:
True, core 0 stalls for only 15 cycles.
Because the 40 cycles are taken from core1 which is independent of core 0, since core 1 also needs some time to access the data.
I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.