1. consider the following processors: Processor Clock rate P1 P2 P3 CPI 4 GHz 2.
ID: 3889598 • Letter: 1
Question
1. consider the following processors: Processor Clock rate P1 P2 P3 CPI 4 GHz 2.5 GHz 3 GHz 2.5 a) If the same ISA is used for the three machines. Which machine is faster? Why? b) How many instructions are executed per second in each machine? c) It is desired to run a program in 8 seconds on each machine by using suitable ISA for each case. What is the number of instructions and total cycles in each case? 2. The following are three different implementations of the same ISA where the instruction set are divided into 3 classes: A, B and C Processor Clock rate CPI of class A CPI of class B CPI of class C P1 P2 4 GHz 2.5 GHz2 3 GHz 4 A program with 1.0ES instructions is divided into the classes as follows: 35% class A, 25% class B and 40% class C. a) How many clocks are needed to execute the program in each case? b) What is the average CPl in each case? c) Which machine is faster?Explanation / Answer
1.
a. Let us assume number of instructions are same.
Then CPU performace Equation become T = CPI/f
TP1=2/4*10^9=0.5 ns
TP2=4/2.5*10^9=1.6 ns
TP3=2.5/3*10^9=0.83ns
Machine P1 is Faster since it takes less time to execute an instruction
b.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.