subject

Consider a cache with a line size of 16 words with each word containing 4 bytes. Assume that 20% of all memory accesses requested by the CPU are write operations. We would like to compare the performance of the write-through with no write-allocate policy (abbreviated as WT) with the write- back with write-allocate policy (abbreviated as WB). Data from memory is read into cache one line at a time. For WT, a single word is written to main memory for each write operation. For WB, the entire line must be written back if it is dirty at the time of replacement; you may assume that on average 25% of the lines in the cache are dirty. A) For both of these policies, find the average amount of main memory traffic (measured as bytes per CPU's memory access). Your answer in each case should be an expression in terms of the hit ratio H.
B) Now compute the average main memory traffic for each policy for the following hit ratios: 0.92, 0.95, 0.98. Also write the main memory traffic per memory access for the case where there is no cache. Show all your results in a tabular form.
C) What conclusions can you draw from the above results?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 05:00
Acompany is inviting design for its new corporate logo from its users. this is an example of ? a. crowdfunding b. crowdvoting c. crowdsourced design d. crowdtracking
Answers: 3
question
Computers and Technology, 23.06.2019 16:30
Monica and her team have implemented is successfully in an organization. what factor leads to successful is implementation? good between different departments in an organization leads to successful is implementation.
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
You draw two cards from a standard deck of 52 cards, but before you draw the second card, you put the first one back and reshuffle the deck. (a) are the outcomes on the two cards independent? why?
Answers: 3
question
Computers and Technology, 24.06.2019 15:30
What type of forensic evidence was recovered during the bomb set off at the new mexico facility on the video that was similar to the evidence obtained at the boston bombings and how did the evidence allow the researchers to connect other pieces of evidence to the same bomb?
Answers: 2
You know the right answer?
Consider a cache with a line size of 16 words with each word containing 4 bytes. Assume that 20% of...
Questions
question
Mathematics, 09.11.2019 22:31
Questions on the website: 13722367