Open In App

Cache Coherence Protocols in Multiprocessor System

Prerequisite – Cache Memory 
In multiprocessor system where many processes needs a copy of same memory block, the maintenance of consistency among these copies raises a problem referred to as Cache Coherence Problem. 
This occurs mainly due to these causes:-

Cache Coherence Protocols: 
These are explained as following below:



 1. MSI Protocol: 
This is a basic cache coherence protocol used in multiprocessor system. The letters of protocol name identify possible states in which a cache can be. So, for MSI each block can have one of the following possible states:

2. MOSI Protocol: 
This protocol is an extension of MSI protocol. It adds the following state in MSI protocol:



3. MESI Protocol – 
It is the most widely used cache coherence protocol. Every cache line is marked with one the following states:

4. MOESI Protocol: 
This is a full cache coherence protocol that encompasses all of the possible states commonly used in other protocols. Each cache line is in one of the following states:

Article Tags :