Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q2. Consider a set of instructions that can be divided into four classes according to their Cycles per Instruction (CPI): A, B, C, and D.

image text in transcribed

Q2. Consider a set of instructions that can be divided into four classes according to their Cycles per Instruction (CPI): A, B, C, and D. Let's assume P1 and P2 are two processors that implement the same instruction set architecture in different ways. P1 has a clock rate of 2.5GHz and CPIs of 1,2,3, and 3 for classes A, B, C, and D, respectively. P2's clock rate is 3GHz and CPIs of classes A,B,C, and D are 2,2,2, and 2 , respectively. If a program with a dynamic instruction count of 105 instructions divided into classes as follows: 10% class A, 20% class B, 50% class C, and 20% class D, which will execute the program faster: P1 or P2? Show all calculations and the formulas you are using

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

Datacasting How To Stream Databases Over The Internet

Authors: Jessica Keyes

1st Edition

007034678X, 978-0070346789

More Books

Students also viewed these Databases questions

Question

b. Where did they come from?

Answered: 1 week ago