Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider two processors (P1 and P2) with different implementations of the same ISA. In this ISA, we can classify each instruction into one of 4

Consider two processors (P1 and P2) with different implementations of the same ISA. In this ISA, we can classify each instruction into one of 4 classes (A, B, C, D) according to their CPI (in other words, some instructions require more cycles than others). P1 has a clock rate of 2.0 GHz and CPIs of (A=1, B=3, C=3, D=2), while P2 has a clock rate of 3.5 GHz and CPIs of (A=2, B=3, C=3, D=2). Now consider a program consisting of 1,000,000 instructions with the following distribution (A=10%, B=30%, C=40%, D=20%)

a) What is the global CPI for each implementation?

b) How many clock cycles are required to fully execute the program on P1 and P2?

c) How long, in seconds, does it take each processor to fully execute the program?

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

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions

Question

help asp

Answered: 1 week ago