Show how the basic snooping protocol of Figure 5.6 can be changed for a write-through cache. What
Question:
Show how the basic snooping protocol of Figure 5.6 can be changed for a write-through cache. What is the major hardware functionality that is not needed with a write-through cache compared with a write-back cache?
Figure 5.6
Transcribed Image Text:
Invalid CPU write Place write miss on bus CPU read Place read miss on bus Exclusive (read/write) CPU read miss Write-back block Place read miss on bus CPU write hit CPU read hit Place invalidate on bus CPU write CPU read hit Shared (read only) CPU write miss Place write miss on bus Cache state transitions based on requests from CPU CPU write miss Write-back cache block Place write miss on bus CPU read miss Place read miss on bus Invalid Write miss for this block Write-back block; abort memory access Exclusive (read/write) Write miss for this block Invalidate for this block memory access Write-back block; abort Read miss for this block Shared (read only) CPU read miss Cache state transitions based on requests from the bus
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 100% (QA)
The figure youve provided appears to show the state transitions for cache lines within a cache coherence protocol for a system with multiple processors or cache controllers Cache coherence protocols like MESI Modified Exclusive Shared Invalid help maintain consistency among multiple caches so that processors dont operate on stale data When discussing writethrough and writeback caches in the context of such a protocol 1 WriteThrough Cache A writethrough cache writes data to both the cache and the backing store usually main memory simultaneously Due to this behavior other caches will see the updated value as soon as it hits the memory bus because the write operations are immediately propagated to memory which can be snooped by other cache controllers The protocol for a writethrough cache primarily eliminates the Modified state since data is always consistent with main memory When a cache line is updated written to it is directly written to memory and hence there is no need to writeback the data upon eviction or when another cache requests the data 2 WriteBack Cache A writeback cache only writes data back to the memory when it is replaced evicted or during a writemiss where another processor ...View the full answer
Answered By
Wonder Dzidzormenu
As a professional accountant and a teacher, I explain account ing concepts in a more practical way that makes students more connected to the subject.
With over 10 years of teaching accounting , I offer a well constructed , easily understood and in-depth explanations to students questions.
5.00+
1+ Reviews
10+ Question Solved
Related Book For
Computer Architecture A Quantitative Approach
ISBN: 9780128119051
6th Edition
Authors: John L. Hennessy, David A. Patterson
Question Posted:
Students also viewed these Computer science questions
-
The switched snooping protocol of Figure 4.40 assumes that memory "knows" whether a processor node is in state Modified and thus will respond with data. Real systems implement this in one of two...
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
A fast-food restaurant operates both a drive through facility and a walk-in facility. On a randomly selected day, let X and Y, respectively, be the proportions of the time that the drive-through and...
-
Methane is compressed adiabatically by a steady-flow compressor from 2 MPa and -10°C to 10 MPa and 110°C at a rate of 0.55 kg/s. Using the generalized charts, determine the required power...
-
Write the instantaneous values of all the components of the TE10 wave in a rectangular waveguide. From these equations, sketch the distribution of the E-field and the H- field in the waveguide at t =...
-
Under U.S. GAAP, an asset that is impaired should be written down in value, with an equivalent loss taken on the income statement. Discuss how you would determine whether an assets value was impaired...
-
Refer to the information in PA9-1 for Barley Hopp. Number of units produced and sold .... 110,000 Number of pounds of clay used ...... 178,200 Cost of clay ............. $ 267,300 Number of labor...
-
Here is the capital structure of Microsoft. what part of the $117.67 share price is represented by cash?
-
No matter how a company measures the benefits provided by an online business implementation, it usually tries to measure those benefits in monetary units. In a paragraph or two, explain why this is a...
-
Please answer the following problems: a. Add a clean exclusive state to the basic snooping cache coherence protocol (Figure 5.6). Show the protocol in the finite state machine format used in the...
-
In this exercise, we examine the effect of the interconnection network topology on the CPI of programs running on a 64-processor distributed-memory multiprocessor. The processor clock rate is 2.0...
-
For the following scores, find the value of each expression: a. 0
-
Look at the following and comment on whether the points mentioned would increase the likelihood of entry and exit to and from an industry: a. A firm holds a patent relating to a key component of the...
-
The low-cost airline business is often cited as an example of a highly contestable market. To what extent do the assumptions of a perfectly contestable market apply to the low-cost airline industry...
-
One of the important changes in the world economy over the past three decades has been the rapid increase in capital investment in the countries of the Pacific Basin (notably Japan and Korea). What...
-
Australia is land abundant, and India is labor abundant. Wheat is land intensive relative to textiles. Graphically demonstrate the pre trade and post trade equilibria between these two countries....
-
Internet service providers (ISPs) have been cited as an example of an industry that exhibits features of contestability. Consider some of the potential costs of entering such an industry and comment...
-
At LA Porsche, customers receive a phone survey asking them to rate their satisfaction after every car service. How is this measure likely to affect the financial welfare of Hulmut Schmidt, manager...
-
One Way Cellular accountants have assembled the following data for the year ended September 30, 2014: Prepare the operating activities section using the indirect method for One Way Cellulars...
-
What effect would you expect a wider bandwidth to have on the noise in a channel?
-
Discuss the trade-offs between fiber-optic and satellite communication in terms of costs, signal capacity, signaling method, interference, likelihood of failure and repair issues, multi-point...
-
Describe the advantages that repeaters have over amplifiers.
-
En la orden de trabajo No. 7 se compran L3,200 en materiales directos y L420 en materiales indirectos, y todos los materiales son pasados directamente al Departamento de Produccin; la cuenta...
-
__________ takes present values into the future and __________ brings future values back to the present. ANSWER Unselected Compounding; discounting Unselected Discounting; compounding Unselected...
-
The Zumwalt Company is expected to pay a dividend of $2.25 per share at the end of the year, and that dividend is expected to grow at a constant rate of 5.00% per year in the future. The company's...
Study smarter with the SolutionInn App