Consider two computers, P1 and P2. Computer P1 has a clock rate of 2 Ghz and Computer
Fantastic news! We've Found the answer you've been seeking!
Question:
Consider two computers, P1 and P2. Computer P1 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 Computer P2- cycles/instruction frequency class Computer P1- Instruction category cycles/instruction class 3 B 2 4 1 3 2 60% 15% 40% a) Calculate the average CPI for each machine P1 and P2 b) Find the clock cycles for each machine Pl and P2 Instruction count MIPS = Execution time X 106 c) Consider One alternative to time is MIPS (million instructions per second). For a given program, MIPS is simply Calculate the average MIPS rating for each computer A and B
Related Book For
Computer Organization And Design The Hardware Software Interface
ISBN: 9780123747501
4th Revised Edition
Authors: David A. Patterson, John L. Hennessy
Posted Date: