Question: There are the following computers and programs: Program A Program B Instruction mix Instructions of Type 1: 55% Instructions of Type 2: 45% Instructions of
There are the following computers and programs:
|
| Program A | Program B |
| Instruction mix | Instructions of Type 1: 55% Instructions of Type 2: 45% | Instructions of Type 1: 50% Instructions of Type 2: 50% |
| Dynamic instruction count | 8*109 instructions | 7*109 instructions |
|
| Computer C1 | Computer C2 |
| Cycles per instruction | Instruction of Type 1: 1 cycle Instruction of Type 2: 2 cycles | Instruction of Type 1: 1 cycle Instruction of Type 2: 1 cycle |
| Frequency | 4.0 GHz | 2.5 GHz |
Questions:
- What is the average CPI for the Program A on the Computer C1?
What is the average CPI for the Program A on the Computer C2?
- How fast (in seconds) the Program A would execute on the Computer C1?
How fast (in seconds) the Program B would execute on the Computer C1?
- Which program runs faster on the Computer C1? How much faster?
Which program runs faster on the Computer C2? How much faster?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
