In this exercise, we will look at the different ways capacity affects overall performance. In general, cache

Question:

In this exercise, we will look at the different ways capacity affects overall performance. In general, cache access time is proportional to capacity. Assume that main memory accesses take 70 ns and that memory accesses are 36% of all instructions.
The following table shows data for L1 caches attached to each of two processors, P1 and
P2.

L1 Miss Rate L1 Size L1 Hit Time P1 0.66 ns 0.90 ns 2 KİB 8.0% P2 4 KİB 6.0%

1. Assuming that the L1 hit time determines the cycle times for P1 and P2, what are their respective clock rates?

2. What is the Average Memory Access Time for P1 and P2?

3. Assuming a base CPI of 1.0 without any memory stalls, what is the total CPI for P1 and P2? Which processor is faster? For the next three problems, we will consider the addition of an L2 cache to P1 to presumably make up for its limited L1 cache capacity. Use the L1 cache capacities and hit times from the previous table when solving these problems. Th e L2 miss rate indicated is its local miss rate.

L2 Size L2 Miss Rate L2 Hit Time 1 MİB 95% 5.62 ns

4. What is the AMAT for P1 with the addition of an L2 cache? Is the AMAT better or worse with the L2 cache?

5. Assuming a base CPI of 1.0 without any memory stalls, what is the total CPI for P1 with the addition of an L2 cache?

6. Which processor is faster, now that P1 has an L2 cache? If P1 is faster, what miss rate would P2 need in its L1 cache to match P1€™s performance? If P2 is faster, what miss rate would P1 need in its L1 cache to match P2€™s performance?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: