Chp8 my: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 19: Line 19:


In MESI protocol, there are four cache block status:
In MESI protocol, there are four cache block status:
1. Modified (M): the cache block valid in only one cache and the value is like different from the main memory.  
*1. Modified (M): the cache block valid in only one cache and the value is like different from the main memory.  
2. Exclusive (E): the cache block is valid and clean, but only resides in one cache.
*2. Exclusive (E): the cache block is valid and clean, but only resides in one cache.
3. Shared (S): the cache block is valid and clean, but may exist in multiple caches.
*3. Shared (S): the cache block is valid and clean, but may exist in multiple caches.
4. Invalid (I): the cache block is invalid.
*4. Invalid (I): the cache block is invalid.





Revision as of 01:08, 26 March 2010

In computing, cache coherence (also cache coherency) refers to the consistency of data stored in local caches of a shared resource. Cache coherence is a special case of memory coherence.

Cache Coherence

Definition

Coherency protocol

MSI protocol

Intel

AMD

MESI protocol

In MESI protocol, there are four cache block status:

  • 1. Modified (M): the cache block valid in only one cache and the value is like different from the main memory.
  • 2. Exclusive (E): the cache block is valid and clean, but only resides in one cache.
  • 3. Shared (S): the cache block is valid and clean, but may exist in multiple caches.
  • 4. Invalid (I): the cache block is invalid.


Intel

AMD

MOESI protocol

Intel

AMD

AMD Opteron is using MOESI protocol for cache sharing.

Dragon protocol

Intel

AMD

References

  1. Cache Coherence
  2. Cache consistency & MESI Intel
  3. A closer look at AMD's dual-core architecture
  4. CSE 400 – Related Work: Instructions & Example
  5. Trace-Driven Simulation of the MSI, MESI and Dragon Cache Coherence Protocols
  6. Understanding the Detailed Architecture of AMD's 64 bit Core
  7. MSI,MESI,MOESI sheet