Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For each part of this exercise, assume the initial cache and memory state as illustrated in Figure 5.35. Each part of this exercise specifies a

For each part of this exercise, assume the initial cache and memory state as illustrated in Figure 5.35. Each part of this exercise specifies a sequence of one or more CPU operations of the form:

P#:

[]

where P# designates the CPU (e.g., P0), is the CPU operation (e.g., read or write),

denotes the memory address, and indicates the new word to be assigned on a write operation. Treat each action below as independently applied to the initial state as given in Figure 5.35. What is the resulting state (i.e., coherence state, tags, and data) of the caches and memory after the given action? Show only the blocks that change; for example, PO. BO: (I, 120, 00 01) indicates that CPU P0's block B0 has the final state of I, tag of 120, and data words 00 and 01. Also, what value is returned by each read operation?

image text in transcribed

a. [10] PO: read 120

b. [10] PO: write 120

c. [10] P3: write 120

d. [10] P1: read 110

e. [10] PO: write 108

f. [10] PO: write 130

g. [10] P3: write 130

P1 PO Coherency Address state Coherency Address Data Data state tag 100 00 10 B0 100 00 10 128 00 68 108 00 08 B1 B1 00 30 B2 00 10 10 B2 110 118 00 18 B3 B3 118 00 10 Memory Address Data 100 00 10 108 00 08 00 10 10 00 18 118 20 00 20 00 28 128 130 00 30 Figure 5.35 Multicore (point-to-point) multiprocessor. P3 BQ B1 B2 coherency Address state tag Data 120 00 20 108 00 08 110 00 10 18 00 10 P1 PO Coherency Address state Coherency Address Data Data state tag 100 00 10 B0 100 00 10 128 00 68 108 00 08 B1 B1 00 30 B2 00 10 10 B2 110 118 00 18 B3 B3 118 00 10 Memory Address Data 100 00 10 108 00 08 00 10 10 00 18 118 20 00 20 00 28 128 130 00 30 Figure 5.35 Multicore (point-to-point) multiprocessor. P3 BQ B1 B2 coherency Address state tag Data 120 00 20 108 00 08 110 00 10 18 00 10

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

Database Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions

Question

Critically evaluate the experiential learning theory.

Answered: 1 week ago