Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Using And Interpreting Statistics

Authors: Eric W. Corty

2nd Edition

1429278609, 978-1429278607

More Books

Students also viewed these Accounting questions

Question

Solve the following proportions for the unknown quantities 9:7=54:b

Answered: 1 week ago

Question

Express the following ratios in its lowest terms. 0.24: 0.39 : 0.15

Answered: 1 week ago