Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 2: Consider two different processors, P1 and P2 executing a program having 5 billion (5109) instructions - P1 has a 2.5GHz clock rate and

image text in transcribed

Exercise 2: Consider two different processors, P1 and P2 executing a program having 5 billion (5109) instructions - P1 has a 2.5GHz clock rate and a CPI of 1.5. - P2 has a 3.5GHz clock rate and a CPI of 1.7. a) Which processor is faster, and by how much? P1:2.5GHz/1.5=5109 instructions per second P2:3.5GHZ/1.7=5109 instructions per second So P1 has the faster processor b) We are trying to reduce the CPU time of P1 by 20% but this leads to an increase of 25% in the CPI. What clock rate should we have to get this time reduction? CPU time =( Num of instructions CPI)/( Clock rate ) So if we want to reduce the CPU time by 20%, and CPI increases by 25%, CPU time 0.7=( Num of instructions CPI1.2)/( New Clock rate ) New clock rate = clock rate 1.2/0.7=1.71 clock rate New clock rate for each Processor : P1: 2.5GHz1.71=4.27GHz

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

Databases Organizing Information Digital And Information Literacy

Authors: Greg Roza

1st Edition

1448805929, 978-1448805921

More Books

Students also viewed these Databases questions