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 18:40
Mariah was working on a multimedia presentation that included both video and audio files. the file was huge, and she wanted to send it to her coworker in another office. she needed to reduce the size of the file so that it could be transmitted faster. the utility she used to do this was
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
Write the html code to make a link out of the text “all about puppies”. it should link to a pdf called “puppies.pdf” inside the “documents” folder. the pdf should open in a new window.
Answers: 2
question
Computers and Technology, 23.06.2019 03:30
Ihave a singular monitor that is a tv for my computer. recently, i took apart my computer and put it back together. when i put in the hdmi cord and booted the computer to see if it worked, the computer turned on fine but the screen was blue with "hdmi no signal." i've tried everything that doesn't require buying spare parts, any answer is appreciated!
Answers: 1
question
Computers and Technology, 25.06.2019 05:00
How many meatballs required for a larty of 25 adults and 6 children
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, 18.09.2019 02:30
Questions on the website: 13722367