newslobi.blogg.se

Mesi cache coherence
Mesi cache coherence









  1. Mesi cache coherence serial#
  2. Mesi cache coherence update#

Plot with respect to traced application and which protocol used. Generate statistics regarding cache misses, cache hits, and communication overhead. We will program our simulator using C++, and will use either our own computers or any Gates machines.Ĭreate a cache simulator that successfully takes in a memory trace generated by Pin and simulates how the caches would act according to the MSI, MESI, and MOESI protocols. We will also be using the paper by Archibald and Baer for specification of the Dragon protocol. We will refer to lecture slides for the details about the MSI and MESI protocols, as well as for any other additional information needed. We will be using Intel Pin tool to generate the memory traces of parallel programs.

Mesi cache coherence serial#

As the simulator itself will be a serial program, we will not have problems such as race conditions, poor work distribution, or divergent execution.įor the emulator, not only will it be difficult to design and create a system that handles the memory traces for the different protocols to interpret, but implementing the protocols themselves will be difficult to do in an exact manner, as well as tracking key performance parameters while simulating the cache. The challenging part will be to correctly implement a cache emulator that accepts the memory traces produced by Pin, and then models the program's actions by adhering to whichever protocol the user selects. As cache coherence is necessary for modern computing, their performance is paramount for maximizing computing and minimizing additional overhead. In class, we learned about different snooping-based cache coherency protocols such as MSI and Dragon, as well as directory-based systems. Maintaining coherency among caches in a system is problem that has been worked on for many years.

mesi cache coherence

We will be implementing the MSI, MESI, MOESI, and Dragon cache coherence protocols, and by using Intel Pin, test our cache simulator with various memory traces from real applications. We are going to make a cache simulator to test the performance of various snooping cache coherence protocols on various programs.

Mesi cache coherence update#

Click here for the Final Writeup Click here for the Project Update Summary











Mesi cache coherence