Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2.1) Consider two different processors, P1 and P2, which implement the same instruction set architecture. The instructions can be divided into four classes according to

image text in transcribed

2.1) Consider two different processors, P1 and P2, which implement the same instruction set architecture. The instructions can be divided into four classes according to their CPI: classes A, B, C, and D. P1 has a clock rate (f1) of 3.3GHz and CPIs of 1,2,2, and 2 (associated to the given order of classes) and P2 has a clock rate (f2) of 2.7GHz and CPIs of 4,2,1, and 1 , respectively. We are given a program X, which has a dynamic instruction count (IC) of 1.5 million. The instruction distribution is as follows: 12.5% class A, 10% class B, 70% class C, and 7.5% class D. 1.a) What is the effective CPI for program X on P1 and P2 ? 1.b) What is the CPU time when executing program X on P1 and P2 ? Which processor is the fastest? 1.c) What is the total number of elapsed clock cycles when executing program X on P1 and P2 ? 1.d) Defining performance as number of instructions per second, compute the performance for P1 and P2. 1.e) We are trying to reduce the CPU time by 25%, but this leads to an increase of 20% on the CPI. What clock rate should we have for each processor

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

JDBC Database Programming With J2ee

Authors: Art Taylor

1st Edition

0130453234, 978-0130453235

More Books

Students also viewed these Databases questions

Question

Choose an appropriate organizational pattern for your speech

Answered: 1 week ago

Question

Writing a Strong Conclusion

Answered: 1 week ago