Home / Expert Answers / Computer Science / 5-9-cache-block-size-b-can-affect-both-miss-rate-and-miss-latency-assuming-a-machine-with-a-bas-pa208

(Solved): 5.9 Cache block size (B) can affect both miss rate and miss latency. Assuming a machine with a bas ...



5.9 Cache block size (B) can affect both miss rate and miss latency. Assuming a machine with a base CPI of 1 , and an average

5.9 Cache block size (B) can affect both miss rate and miss latency. Assuming a machine with a base CPI of 1 , and an average of \( 1.35 \) references (both instruction and data) per instruction, find the block size that minimizes the total miss latency given the following miss rates for various block sizes. 5.9.1 \( [10]<\$ 5.3> \) What is the optimal block size for a miss latency of \( 20 \times B \) cycles? 5.9.2 \( [10]<\$ 5.3> \) What is the optimal block size for a miss latency of \( 24+B \) cycles? 5.9.3 \( [10]<\$ 5.3> \) For constant miss latency, what is the optimal block size?


We have an Answer from Expert

View Expert Answer

Expert Answer


SOLUTION- (a) Optimal block size for latency of 20 * B cycles. Block Size in bytes Miss Rate in % Latency Average mem. AccessTime 8 4 20 * 8=160 1 + 0.04 * 160 = 7.4 16 3 20 * 16=320 1 + 0.03 * 320 = 10.6 32 2 20 * 32=640 1 + 0.02 * 640 = 13.8 64 1.5
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe