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 faste(
(give the answer for this question)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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