MEANING OF EACH OF THE FOUR STAGES IN THE MESI PROTOCOL 2
ASSIGNMENT 10
REVIEW QUESTION 17.6: Meaning of each of the four stages in the MESI protocol
Modified: Modification is done to the cache line that is contained in the cache memory. This is
not the same as the main memory only this cache has it. Sometime in the future, necessity of the
cache comes when data is written on the main memory, before any other invalid (already read)
main memory state to be allowed. Writing back changes the state of the line to share.
Exclusive: The main memory is identical to the cache line found in the cache. However, the main
memory is not found in any cache location. Read request at any time may change it to shared
state. Furthermore, when writing to it you may change it to Modified state.
Shared: The cache line may be similar to the main memory and any cache location may contain
it. This implies that the particular cache line may be stored in different machine caches and its
clean, meaning that it matches with the main memory.
Invalid: Invalid data is contained in the cache line.
Review Questions: 17.9: Differences among UMA, NUMA, and CC-NUMA?
In UMA, the same time is required to access a memory unit to all memory regions by a
processor, NUMA has variable access time of the memory unit depending on the main memory
region that is being accessed while CC-NUMA model, the memory is accessed by the
processor.
In UMA, different processors have the same access time,in NUMA different processors have
variable access time while the access time is the same in CC-NUMA because a cache is unique
to each processor.
In UMA, any memory part can be accessed by any processor using loads and store instructions.
In NUMA, any processor can access any main memory part while in CC-NUMA, various
caches maintain the same cache coherence of different processors.