Question: You have two processors, CPU1 w/ a 5GHz dlock rate and CPU2 w/ a 4GHz clock rate. They both implement the same ISA that

You have two processors, CPU1 w/ a 5GHz dlock rate and CPU2

You have two processors, CPU1 w/ a 5GHz dlock rate and CPU2 w/ a 4GHz clock rate. They both implement the same ISA that contains 4 different types of instructions, A, B, C, and D. A program takes 10 billion instructions, where the instruction mix is 20%, 20%, 10%, 50% respectively. On CPU1, the CPI for the different instructions are 1, 2, 2, 3 respectively. On CPU2, the CPI for the types of instructions are 2, 2, 2, 1 respectively. A) (5 Points) What is the CPI of the program on CPU1? B) (5 Points) What is the CPI of the program on CPU2? C) (5 Points) What is the CPU time of the program on CPU1? D) (5 Points) What is the CPU time of the program on CPU2? E) (5 Points) Which CPU is faster and what is the speedup? (This is not a percentage!) Name: F) (5 Points) If we were to improve CPU1, which type of instruction should we target that would give us the best overall performance boost assuming that our changes only impact CPI? Support your answer with calculations.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

A CPI of the program on CPU1 Instructions 10 billion Instruction mix A 20 2 billion B 20 2 billion C ... View full answer

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 Accounting Questions!