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:

  1. 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?

  1. 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?

  1. 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

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!