Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q.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
Q.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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions

Question

Employ effective vocal cues Employ effective visual cues

Answered: 1 week ago