Question :
The below table shows the instruction count (IC) for programs running on three processors P1, P2, and P3 with the clock rates 1.0 GHz, 2.5 GHZ, and 2.0 GHz respectively. Each program consists of only Load/store, arithmetic, and branch instructions.
Answer the following.
| Load/store | Arithmetic |
Branch
|
CPI |
1 |
3 |
2 |
IC for program 1 running on P1 |
125 |
200 |
5 |
IC for program 2 running on P2 |
300 |
150 |
15 |
IC for program 3 running on P3 |
150 |
75 |
10 |
a. What is the average CPI for each of the program running on processors P1, P2, and P3?
b. What is the CPU time for the programs running on processors P1, P2, and P3?
c. If program 2 is run on processors P1 and P3, which processor (P1, P2, and P3) has the best performance?