Question: Exercise 3. [30 Marks] In this exercise, we will examine cache capacity and its effect on performance. For simplicity, let assume consider only data cache.
![Exercise 3. [30 Marks] In this exercise, we will examine cache](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66d8a5578fb9e_13566d8a557084e8.jpg)


Exercise 3. [30 Marks] In this exercise, we will examine cache capacity and its effect on performance. For simplicity, let assume consider only data cache. That is, instructions are not stored in the caches. Recall cache access time is related to its capacity. Consider that accessing main memory requires 100ns and that, in a particular program, 42% of instructions incur a data access. For two different processors executing this program, we have two different L1 caches, attached to processors P1 and P2, respectively. Now consider the addition of an L2 cache to P1 with the following characteristics. The data from the previous table still holds. (e) Which processor is faster, now that P1 has an L2 cache? If P1 is faster, what miss rate would P1 need in its L1 cache to match P2's performance? If P2 is faster, what miss rate would P2 need in its L1 cache to match P1's performance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
