A computer is constructed using a 3.0 GHz processor. It has 512 MB RAM, which has a
Question:
A computer is constructed using a 3.0 GHz processor. It has 512 MB RAM, which has a 1 ns latency. The processor has three types of instructions: Branch, Arithmetic & Logic, and Memory move. The processor needs 5, 4, and 5 clocks to execute each category of instructions, respectively. It is observed that out of all the instructions executed, 20% are branch instructions, and 40% are Arithmetic and Logic operations. Branch and Memory Move instructions need two memory accesses, but Arithmetic and Logic instructions need only one.
(i) Calculate the average CPI of the processor.
(ii) Find the MIPS rating of the processor.
(iii) Calculate the MIPS rating of the computer.
(iv) Estimate the time taken to execute a program with n number of instructions.
Federal Tax Research
ISBN: 9781285439396
10th edition
Authors: Roby Sawyers, William Raabe, Gerald Whittenburg, Steven Gill