Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
A CPI of the program on CPU1 Instructions 10 billion Instruction mix A 20 2 billion B 20 2 billion C ...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