Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem # 2 : Suppose processors P 1 and P 2 have private and snoopy caches. Both caches are initially empty. Consider the sequence of

Problem # 2: Suppose processors P1 and P2 have private and snoopy caches. Both caches are initially empty. Consider the sequence of memory accesses shown in the table below. Assume three cache blocks A,B, and C do not conflict in the cache. Using the standard MESI write-invalidate coherence protocol for a write-back cache, fill in the table below with the states of the three cache blocks (i.e., A, B, and C) in each processor cache and the appropriate action should be taken in both processor caches after each processor memory operation. [3pts]
Problem # 4: Draw a structure diagram of an 8-way set associative cache. [2pts]
\table[[Processor meme,Proces:,or P1,cach,Proce,,cach],[,A,B,C,A,B,C],[Initial sate,I,I,I,I,I,I],[P2: read A,(,I,I,I,I,I],[P1: read B,,,,,,],[P1: write C,,,,,,],[P2: write A,,,,,,],[P1: readA,,,,,,],[P2: write B,,,,,,],[P2: read B,,,,,,],[P2: read A,,,,,,],[P2: write C,,,,,,],[P2: write C,,,,,,],[P2: read C,,,,,,],[P2: write B,,,,,,],[P1: write A,,,,,,],[P2: write A,,,,,,],[P1: read A,,,,,,],[,,,,,,]]
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beyond Big Data Using Social MDM To Drive Deep Customer Insight

Authors: Martin Oberhofer, Eberhard Hechler

1st Edition

0133509796, 9780133509793

More Books

Students also viewed these Databases questions