Question
Consider two different implementation of the same instruction set architecture. The instructions can be divided into four classes according to their CPI (class A, B,
Consider two different implementation of the same instruction set architecture. The instructions can be divided into four classes according to their CPI (class A, B, C, and D). P1 with a clock rate of 3.5 GHz and CPIs of 2, 1.5, 2.5, and 3 while P2 has a clock rate of 3.0 GHz and CPIs of 1.75, 1.5, 2, and 2.5.
a) Given a program with a dynamic instruction count of 2.0 x 10^6 instructions divided into the classes as follows: 10% class A, 20% class B, 50% class C, and 20% class D, which processor is faster?
b) What is the CPI of P1 and CPI of P2 based on this instruction mix?
c) How many clock cycles are required for P1 and P2 to complete the 2.0 x 10^6 instructions? And which processor executes these 2.0 x 10^6 instructions faster?
d) What was the execution time in milli-seconds of the faster processors?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started