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, 22.06.2019 19:00
If your accelerator suddenly gets stuck what should you do
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
What is the primary difference between the header section of a document and the body? a. the body is displayed on the webpage and the header is not. b. the header is displayed on the webpage and the body is not. c. the tag for the body is self-closing, but the tags for the headers must be closed. d. the tag for the header is self closing, but the tag for the body must be closed.
Answers: 3
question
Computers and Technology, 24.06.2019 12:30
Why does the pc send out a broadcast arp prior
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
Your is an example of personal information that you should keep private.
Answers: 1
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, 27.07.2019 13:20
question
Biology, 27.07.2019 13:20
question
Computers and Technology, 27.07.2019 13:20
Questions on the website: 13722360