What is cache coherency?

What will be an ideal response?


Data in a computer with cache memory may be in the cache and memory. Clearly, it is important that the data in both memories should be the same or, if the values differ, the older and incorrect or stale value should be marked
as invalid. In a single processor system, this is not normally a problem. However, with multiple processors, each
with its own private cache, it is possible for one processor to update its cache and the (same) data in the other
processor’s cache will remain the same (and be stale). Consequently, computers with multiple processors and
caches must ensure that when a processor updates its own cache, all other lines containing the same data must
either be updated or invalidated. The process of ensuring that the data remains in step is called cache coherency.
18. In principle, cache memory is a very simple concept. You simply keep a copy of frequently accessed data in highspeed RAM. In practice, few elements of a computer are harder to design than a cache memory system. Discuss the truth, or otherwise, of this statement.

Computer Science & Information Technology

You might also like to view...

Word provides default tab stops at 0.5" intervals.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

What is the complexity of the naive string matching algorithm?

a. O(n) b. O(n^2) c. O(log n) d. O(n log(n))

Computer Science & Information Technology

What device handles access to another network for a client computer if it does not have a better option?

A. firewall B. default gateway C. network switch D. network hub

Computer Science & Information Technology

There are three Master views: Slide Master view, Handout Master view, and Notes Master view.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology