DefinePK

DefinePK hosts the largest index of Pakistani journals, research articles, news headlines, and videos. It also offers chapter-level book search.

Cache Coherence issues and Solution: A Review


Article Information

Title: Cache Coherence issues and Solution: A Review

Authors: Khalid Alkhamisi

Journal: International Journal of Information Systems and Computer Technologies

HEC Recognition History
Category From To
Y 2024-10-01 2025-12-31
Y 2023-07-01 2024-09-30

Publisher: Center for Research and Innovative Technologies

Country: Pakistan

Year: 2022

Volume: 1

Issue: 2

Language: English

DOI: 10.58325/ijisct.001.02.0030

Categories

Abstract

Computer systems are extensively being used in today’s era and the advancement in computer systems has led to the evolution of various technologies. As the efficiency of the computer systems is to be enhanced, the usage of cache memory becomes a must. The cache memory problems occur when multiprocessor systems are used. When multiple processors are processors share a common memory pool, the problem of cache coherence occurs. Cache coherence is a state in which the cache memories of the processors must stay in coherence with each other. The data should be updated in all the cache systems. Various protocols are used to ensure cache coherence. This study delineates the cache memory architecture, cache coherence, and the issues that arise due to non-consistent data in the cache of multiprocessor systems.  Moreover, this study also delineates the protocols of the cache coherence and also describes in detail the MISE protocol. This study will provide an in-depth review of cache, cache coherence, and the issues associated with cache coherence along with the solution.


Research Objective

To conduct an extensive literature review to identify cache coherence issues, delineate cache memory architecture, cache coherence, the issues arising from non-consistent data in multiprocessor systems, and describe cache coherence protocols, with a detailed description of the MISE protocol.


Methodology

Literature review.

Methodology Flowchart
                        graph TD;
    A["Literature Review"] --> B["Identify Cache Coherence Issues"];
    B --> C["Delineate Cache Memory Architecture"];
    C --> D["Explain Cache Coherence Problem"];
    D --> E["Describe Cache Coherence Protocols"];
    E --> F["Detail MISE Protocol"];
    F --> G["Synthesize Findings"];                    

Discussion

The paper highlights the increasing importance of cache memory for enhancing computer system efficiency due to the growing speed gap between processors and main memory. It explains the memory hierarchy, the role of cache, and the challenges posed by its cost. The core of the discussion revolves around cache coherence, defining the problem and its implications in multiprocessor systems. The paper contrasts software and hardware approaches to cache coherence, favoring hardware protocols for their real-time effectiveness. It then delves into the two primary hardware approaches: snoopy-based and directory-based protocols, detailing their mechanisms and comparing their advantages and disadvantages. Finally, it reviews several specific cache coherence protocols (SI, MI, MESI, MOESI, MOSI), outlining their states and functionalities.


Key Findings

Cache coherence is a critical issue in multiprocessor systems where multiple processors share a common memory pool. Inconsistency arises when updates to data in one cache are not reflected in others. Hardware-based cache coherence protocols are the most effective solution for data inconsistency. Two main categories of cache coherence systems are snoopy-based and directory-based. Various protocols exist, including SI, MI, MESI, MOESI, and MOSI, each with different states and mechanisms for maintaining data consistency.


Conclusion

Multiprocessor systems necessitate coherent caches, achieved through various protocols. The choice of protocol depends on the specific machine architecture. This paper provides an in-depth review of cache memory, its functionality, architecture, and the associated coherence issues, along with an overview of different cache coherence protocols and their state diagrams.


Fact Check

- The paper is published in the International Journal of Information Systems and Computer Technologies (IJISCT) Vol. 1(2) - July 2022. (Confirmed by header)
- The MESI protocol was first used in Pentium processors. (Stated in text)
- Cache memory uses SRAM, which is more expensive than DRAM. (Stated in text)


Mind Map

Loading PDF...

Loading Statistics...