Question: 5. (20 points) Many computers have two levels of cache: Cache 1 is smaller, and built of faster, and more expensive components than cache 2.

5. (20 points) Many computers have two levels of cache: Cache 1 is smaller, and built of faster, and more expensive components than cache 2. Cache 2 is likewise faster and more expensive per byte than Main Memory, but less so than Cache 1. Derive a formula for the mean access time of the overall memory system of the computer. Use the following notation: caccess time for Cache 1 (per word) c2 - access time for Cache 2 (per word) m - average access time (per word) for Main Memory, where m > c2 > ci hhit rate for Cache 1 2hit rate for Cache2 bi block size for Cache 1 (in words) b2 block size for Cache 2 (in words) Hint: Draw a tree diagram
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
