Question: [ 9 points ] Given a CPU that runs at 2 GHz clock frequency and has a base CPI of 1 ( without considering load

[9 points] Given a CPU that runs at 2GHz clock frequency and has a base CPI of 1(without considering load and store instructions that access the memory). It has a L1 cache whose access time is 0.5ns and a L2 cache whose access time is 5ns. The DRAM access latency is 50ns. Assume 10% of the instructions in a program are memory access instructions (i.e., load and store instructions). On average, for all the L1 cache access, it has a hit ratio of 80%; for all the L2 cache access, it has a hit ratio of 95%.
a)[3 points] How many CPU clock cycles does it take to access L1 cache, L2 cache, and DRAM, respectively?
b)[2 points] What's the global percentage of instructions (i.e., the percentage among all instructions) that will have a L1 miss and L2 miss, respectively?
c)[2 points] What's the average memory access time (AMAT)? Note: detailed computation steps must be included; otherwise, you will lose 1 point.
d)[2 points] What's effective CPI for this program? Note: detailed computation steps must be included; otherwise, you will lose 1 point.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!