Machine-translated by Google. Questions are authored in English.
Top

Discussion

In a multiprocessor system where each multiple processors have their own local caches, what is the main challenge that needs to be addressed to ensure data consistency ?

  • A.Cache replacement
  • B.Cache partitioning
  • C.Cache Coherence
  • D.Cache latency

Answer: C

The main challenge is cache coherence.

When each processor keeps its own copy of shared data in its local cache, a write by one processor can leave stale copies in the others. Cache coherence is the problem of keeping all those copies consistent, solved by protocols such as MESI using bus snooping or a directory.

Cache replacement decides which block to evict when a cache is full. Cache partitioning divides a cache among cores or processes. Cache latency is the time an access takes. Each matters for performance, but none of them is about consistency between processors.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.