Page 1 of 1

Q4. Cache and Virtual Memory We discussed in class that increasing block size can improve the hit rate (due to spatial l

Posted: Fri Jul 01, 2022 5:42 am
by answerhappygod
Q4 Cache And Virtual Memory We Discussed In Class That Increasing Block Size Can Improve The Hit Rate Due To Spatial L 1
Q4 Cache And Virtual Memory We Discussed In Class That Increasing Block Size Can Improve The Hit Rate Due To Spatial L 1 (25.08 KiB) Viewed 43 times
Q4. Cache and Virtual Memory We discussed in class that increasing block size can improve the hit rate (due to spatial locality), but transfer time also increases. Given the cache organizations below, compute the miss penalty and the AMAT in the following questions. Both designs have only one cache level. Assume that the hit time is I cycle for both caches and that the memory accesses take 10 cycles for a 8-byte data transfer and needs 2 more cycle for every 8-byte additional transfer. Write your answer in the boxes and show your work. No point will be given if only numeric values are given in the boxes. Cache A: (a) What is the miss penalty for Cache A and B, respectively? Give your answer in cycles. T Block Size Miss Rate 5% Cache A: Cache A Cache B 16 Bytes 32 Bytes Cache B: (b) What is the average memory access time (AMAT) for Cache A and B. respectively? Give your answer in cycles. Cache B: 7