In the pipeline penalty homework, we assumed that a load/use pair would require
ID: 3715585 • Letter: I
Question
In the pipeline penalty homework, we assumed that a load/use pair would require 1 bubble to be injected into the pipeline. This is the case when the loaded data was found in the cache. Suppose that a cache miss would require 180 bubbles to be injected into the pipeline. Cache 1 has a hit rate of 95%, what is the average number of bubbles injected into the pipeline for each load/use pair? (limit your answer to two decimal places) Cache 2 has a hit rate of 96%, what is the average number of bubbles injected into the pipeline for each load/use pair? (limit your answer to two decimal places) IS ISExplanation / Answer
Case 1: 0.95*1 + (1-0.95)*180 = 0.95 + 9 = 9.95 bubbles
Case 2: 0.96*1 + (1-0.96)*180 = 0.96 + 7.2 = 8.16 bubbles
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.