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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 42 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply