Question 3 plz What is the key advantage and disadvantage of each of shared memo
ID: 3601320 • Letter: Q
Question
Question 3 plz
What is the key advantage and disadvantage of each of shared memory and message passing with respect to the other? Write a shared memory version and a message passing version of a program to find the sum of the elements of a large array of integers (large as in tens of billions). Follow the lecture example of Ocean What does cache coherence achieve? Why is that important for the shared memory abstraction'? Why does our MSI protocol write back the block to memory on a BusRdX to an M block even though memory will continue to be stale due to the new writer? 1. 2. 3. 4.Explanation / Answer
Answer:
3. Cache Coherence is there to guarantee that elements inside a system have a similar perspective of the memory. This is acheived by holding fast to the means characterized in the lucidness convention. Under a soundness convention, a reserve line can be in various stages. The stage the reserve line is in, and the expected operation characterize the following course of activities.
It is a strategy which guarantees that values kept in touch with the neighborhood cache are consequently conveyed to other processor's reserves. In doing as such, it makes the cache imperceptible to the product, giving a figment of a solitary shared memory.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.