Question: h Please answer all the following questions, 1. Consider two different processors P, and P2 executing the same instruction set. These instructions can be classified

 h Please answer all the following questions, 1. Consider two different

h Please answer all the following questions, 1. Consider two different processors P, and P2 executing the same instruction set. These instructions can be classified into four classes: A, B, C, and D. The CPI values of each class for the two processors can be given as follows: Class A B D CPI Processor P Processor P 2 2 2 3 2 3 2 Suppose that the clock rates of P and P, are 2.5 GHz and 3 GHz, respectively. Given a program with a dynamic instruction count of 1,000,000 instructions divided into classes as follows: 10% class A, 20% class B, 50% class C, and 20% class D. (a) Calculate the effective CPI for each of the two processors while executing the program. (b) Calculate the time taken by each of the two processors to execute the program. (c) Suppose the program is used to benchmark the performance of P, relative to that of P (.e. P, is used as the reference). What will be the speed ratio of P (relative to P.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!