Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can u solve? CCCN221-Assignment 1 Question: Consider two computers, Pl and P2. Computer Pl has a clock rate of 2 Ghz and Computer P2 has

can u solve? image text in transcribed
image text in transcribed
CCCN221-Assignment 1 Question: Consider two computers, Pl and P2. Computer Pl has a clock rate of 2 Ghz and Computer P2 has a clock rate of 800 Mhz. There are three classes of instructions (A, B and C) in the instruction set. The average number of cycles for each instruction class and their frequencies (for a typical program) are as follows: Instruction category Computer Pl. Computer P2. frequency cycles/instruction cycles/instruction class class 3 1 55% 20% 2 35% B 3 2 4 a) Calculate the average CPI for each machine P1 and P2 b) Find the clock cycles for each machine Pl and P2 c) Consider One alternative to time is MIPS (million instructions per second). For a given program, MIPS is simply Instruction count MIPS Execution time x 10 Calculate the average MIPS rating for cach computer A and B Question2: Consider three different processors PI, P2, and P3 executing the same instruction set. Pl has a 3 GHz clock rate and a CPI of 1.5. P2 has a 2.5 GHz clock rate and a CPI of 1.0. P3 has a 4.0 GHz clock rate and has a CPI of 2.2. a) Which processor has the highest performance expressed in instructions per second? b) If the processors each execute a program in 10 seconds, find the number of cycles and the number of instructions c) We are trying to reduce the execution time by 30% but this leads to an increase of 20% in the CPI. What clock rate should we have to get this time reduction? Question: Consider the following fragment of C Code For (-0; i

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

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

More Books

Students also viewed these Databases questions