Question

Problem 1 Assume that a processor with a clock rate of 1 GHz clock runs a benchmark program w mix of instructions given in th
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution for the problem is provided below, please comment if any doubts:

Problem 1:

The clock rate of the processor = 1 GHz

The total Cycles of the benchmark program= sum of CPI of each instruction multiplied by instruction count

Total cycles=( 2 x50 x106)+ ( 1 x110 x106)+ ( 8 x50 x106)+ ( 2 x10 x106)

=(100+110+400+20) x106 = 630 x106 cycles

If the program needs to be run two times faster, the total cycles needs to be reduced to half.

That is the Cycles should be = 315 x106 cycles

The CPI of L/S needs to be varied to achieve this:

Thus the new cycles = 315 x106 =( 2 x50 x106)+ ( 1 x110 x106)+ ( newCPI x50 x106)+ ( 2 x10 x106)

315 x106 =130 x106+( newCPI x50 x106)

185= newCPI x50

newCPI= 3.7

Thus in order to run the program two times faster, the new CPI of L/S should be improved to 3.7

Add a comment
Know the answer?
Add Answer to:
Problem 1 Assume that a processor with a clock rate of 1 GHz clock runs a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT