Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[ 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

12.6 Analyze the emerging emphasis on employee recognition.

Answered: 1 week ago