Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2.1) Consider two different processors, P1 and P2, which implement the same instruction set architecture. The instructions can be divided into four classes according to
2.1) Consider two different processors, P1 and P2, which implement the same instruction set architecture. The instructions can be divided into four classes according to their CPI: classes A, B, C, and D. P1 has a clock rate (f1) of 3.3GHz and CPIs of 1,2,2, and 2 (associated to the given order of classes) and P2 has a clock rate (f2) of 2.7GHz and CPIs of 4,2,1, and 1 , respectively. We are given a program X, which has a dynamic instruction count (IC) of 1.5 million. The instruction distribution is as follows: 12.5% class A, 10% class B, 70% class C, and 7.5% class D. 1.a) What is the effective CPI for program X on P1 and P2 ? 1.b) What is the CPU time when executing program X on P1 and P2 ? Which processor is the fastest? 1.c) What is the total number of elapsed clock cycles when executing program X on P1 and P2 ? 1.d) Defining performance as number of instructions per second, compute the performance for P1 and P2. 1.e) We are trying to reduce the CPU time by 25%, but this leads to an increase of 20% on the CPI. What clock rate should we have for each processor
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