b Calculate the average MIPS ratings for each machine M1 and M2 For Machine M1

# B calculate the average mips ratings for each machine

• Homework Help
• 4
• 100% (5) 5 out of 5 people found this document helpful

This preview shows page 2 - 4 out of 4 pages.

b.Calculate the average MIPS ratings for each machine, M1 and M2. c.Which machine has a smaller MIPS rating? Which individual instruction class CPI do you need to change, and by how much, to have this machine have the same or better performance as the machine with the higher MIPS rating (you can only change the CPI for one of the instruction classes on the slower machine)? 4.[10] Suppose a program segment consists of a purely sequential part which takes 25 cycles to execute and an iterated loop which takes 100 cycles per iteration. Assume the loop iterations are independent, and cannot be further parallelized. If the loop is to be executed 100 times, what is the maximum speedup possible using an infinite number of processors (compared to a single processor)?
3 5.[10] If processor A has a higher clock rate than processor B, and processor A also has a higher MIPS rating than processor B, explain whether processor A will always execute faster than processor B. Suppose that there are two implementations of the same instruction set architecture. Machine A has a clock cycle time of 20ns and an effective CPI of 1.5 for some program, and machine B has a clock cycle time of 15ns and an effective CPI of 1.0 for the same program. Which machine is faster for this program, and by how much?