Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q2. Consider a set of instructions that can be divided into four classes according to their Cycles per Instruction (CPI): A, B, C, and D.
Q2. Consider a set of instructions that can be divided into four classes according to their Cycles per Instruction (CPI): A, B, C, and D. Let's assume P1 and P2 are two processors that implement the same instruction set architecture in different ways. P1 has a clock rate of 2.5GHz and CPIs of 1,2,3, and 3 for classes A, B, C, and D, respectively. P2's clock rate is 3GHz and CPIs of classes A,B,C, and D are 2,2,2, and 2 , respectively. If a program with a dynamic instruction count of 105 instructions divided into classes as follows: 10% class A, 20% class B, 50% class C, and 20% class D, which will execute the program faster: P1 or P2? Show all calculations and the formulas you are using
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