What is cache coherence and what does it mean in computer architecture?
Cache coherence is the unity of shared resource data.
Now read this post from MiniTool to get its full information.
What Is Cache Coherence?
To begin with, what is cache coherence?
When one copy of the data is changed, the other copies must reflect the change.
However, in practice, it is usually executed at the granularity of cache blocks.
Definition
Coherence defines the behavior of reads and writes to a single address location.
In a multi-processor system, consider that more than one processor has cached a copy of memory location X.
However, they are insufficient because they do not meet the Transaction Serialization conditions.
Each mechanism has its own advantages and disadvantages.
The disadvantage is that snooping cannot be extended.
Therefore, many larger systems (>64 processors) use this key in of cache coherence.
Coherence Protocols
The coherence protocol applies cache coherence in a multi-processor system.
The goal is that two clients must not see different values of the same shared data.
The protocol must fulfill the basic requirements of coherence.
It can be tailored to the target system or app.
Protocols can also be classified as snoopy or directory-based.
All processors snoop the requests and respond appropriately.
Related post:Some Guides on How to Clear Cache on Windows 10/8/7