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 36% of all instructions access data memory. The following table shows data for L1 Caches attached to each of two processors, P1 and P2, where the L1 hit time defines the P1 and P2 cycle time. Processor      L1 Size            L1 Miss Rate                 L1 Hit Time P1                   2 KiB              8.0%                              0.66 ns P2                   4 KiB              6.0%                               0.90 ns a. What is the Average Memory Access Time(AMAT) for P1 and P2 (in cycles)? Note, you should take the next larger integer for any fraction of cycles when counting the miss penalty. b.  Now you will consider that an L2 cache is added to P1. Use the same L1 cache size, miss rate, and hit time as shown in the previous table. The new L2 cache size, miss rate, and hit time are given below, where L2 miss rate is its local miss rate. Processor    L2 Size               L2 Miss Rate         L2 Hit Time P1                1 MiB                95%                        5.62 ns What is the AMAT for P1 with the addition of an L2 cache (in cycles)?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
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 36% of all instructions access data memory. The following table shows
data for L1 Caches attached to each of two processors, P1 and P2, where the L1 hit time defines the P1 and P2 cycle time.

Processor      L1 Size            L1 Miss Rate                 L1 Hit Time
P1                   2 KiB              8.0%                              0.66 ns
P2                   4 KiB              6.0%                               0.90 ns

a. What is the Average Memory Access Time(AMAT) for P1 and P2 (in cycles)? Note, you should take the next larger integer for any fraction of cycles when counting the miss penalty.

b.  Now you will consider that an L2 cache is added to P1. Use the same L1 cache size, miss rate, and hit time as shown in the previous table. The new L2 cache size, miss rate, and hit time are given below, where L2 miss rate is its local miss rate.
Processor    L2 Size               L2 Miss Rate         L2 Hit Time
P1                1 MiB                95%                        5.62 ns

What is the AMAT for P1 with the addition of an L2 cache (in cycles)?

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY