Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For each of the memory reference streams given in the following, compare the cost of executing it on a bus-based machine that supports (a) the

For each of the memory reference streams given in the following, compare the cost of executing it on a bus-based machine that supports (a) the MESI protocol and (b) the Dragon protocol. Explain the observed performance differences in terms of the characteristics of the streams and the coherence protocols.

a. Stream 1: r1 w1 r1 w1 r2 w2 r2 w2 r3 w3 r3 w3 b. Stream 2: r1 r2 r3 w2 w2 w3 r1 r2 r3 w3 w1 c. Stream 3: r1 r2 r3 r3 w1 w1 w1 w1 w2 w3 All of the references in the streams are to the same location: r/w indicates read or write, and the digit refers to the processor issuing the reference. Assume that all caches are initially empty, and use the following cost model: read/write cache hit 1 cycle; misses requiring simple transaction on bus (BusUpgr, BusUpd) 60 cycles; and misses requiring whole cache block transfer 90 cycles. Assume all caches are write allocated.

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

More Books

Students also viewed these Databases questions

Question

Differentiate the function. r(z) = 2-8 - 21/2 r'(z) =

Answered: 1 week ago

Question

to encourage a drive for change by developing new ideas;

Answered: 1 week ago

Question

4 What are the alternatives to the competences approach?

Answered: 1 week ago