Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider two different implementations, M 1 and M 2 , of the same instruction set ( Number of Instructions = 1 0 ^ 9 i

Consider two different implementations, M1 and M2, of the same instruction set
(Number of Instructions =10^9 i.e 1,000,000,000). There are three classes of
instructions (A, B, and C) in the instruction set. M1 has a clock rate of 3 GHz and M2 has a clock rate of 4 GHz. The average number of cycles for each instruction class and their frequencies (for a typical program) are as follows:
Instruction Class
M1 CPI
M2 CPI
Frequency
2
2
40%
B
1
3
30%
C
4
3
30%
a) Calculate the average CP| for each machine, M1 and M2
b) Calculate the execution time for each machine, M1 and M2 and state which o faster.
c) By how much must we improve the CPI of Class A instructions if we want the program to run 40% times faster on Machine M1?
Note: Please show work for all the questions above.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Step: 3

blur-text-image

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

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions

Question

Explain the forces that influence how people handle conflict

Answered: 1 week ago