Question: 1 . Consider running a program on a 3 GHz processor in 1 0 seconds. 1 a . If the CPI is 1 . 5

1. Consider running a program on a 3 GHz processor in 10 seconds.
1a. If the CPI is 1.5, what is the number of cycles and the number of instructions?
1b. We are trying to reduce the execution time by 30% but this leads to an increase of 10% in the CPI. What clock rate should we have to get this time reduction?
2. Consider running a program on two different processors, P1 and P2, that implement the same instruction set architecture. P1 has a 2.5 GHz clock rate and P2 has a 3 GHz clock rate. The program has 1 million instructions, divided into three classes: A, B, and C.10% of the instructions are class A,20% are class B,70% are class C. The CPIs of the three classes when running on P1 are 1,2, and 5, respectively. The CPIs of the three classes when running on P2 are 2,3, and 4, respectively.
2a. What is the global or weighted average CPI for each processor?
2b. What is the number of clock cycles required for each processor?
2c.Which processor is faster?

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!