Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . Consider the following data about two computers X & Y running different compilers. Instruction Type CPI ( Cycles Per Instruction ) Instruction Count

1. Consider the following data about two computers X & Y running different compilers.
Instruction Type CPI (Cycles Per Instruction)
Instruction Count (in billions)
A 29,15%
B 515,25%
C 112,20%
D 424,40%
Instruction Type CPI
Instruction Count (in billions)
A 516,20%
B 124,30%
C 312,15%
D 128,35%
The clock rate of Computer X & Y is 2.5 GHz & 3 GHz respectively. Calculate
a) average CPI of both machines.
b) Which machine is faster based upon
i) Execution Time
ii) MIP rate.
2. Suppose a program takes 25 seconds to run on a particular hard ware. Now suppose on a new
hardware, [X]% of instructions can be run parallel by a factor of 9 times. Calculate the
overall speed up that has been achieved. Also what is the new execution time.
Note: For value of [X], use last two digits of your student number.
Note: For all questions, submit your work with detailed calculations.
Formulas:
1. Average CPI Calculation:
Average CPI=(CPI_i \times Fraction of Instructions_i).
2. Execution Time Calculation:
Execution Time=(Instruction Count)\times (CPI)\times 1/Clock Rate
3. MIPS (Million Instructions Per Second) Calculation:
MIPS=Clock Rate \times 106
/ CPI Or MIPS=Execution Time \times 106
/ Instruction Count
4. speedup (S)
S=1/((1P)+ P / Sp)
P is the proportion of the program that can be parallelized. P = X/100;
Sp is the speedup factor of the parallel portion.

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

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

PSW ( MSB ) . . . . SA 0 4

Answered: 1 week ago

Question

=+e) State the hypotheses (in words, not symbols).

Answered: 1 week ago

Question

2 What is the philosophy of performance management?

Answered: 1 week ago