Question: & Assignment 6: Performance Single Cycle Processor Design Q 1. We wish to compare the performance of two different computers: M1 and M2. The following
\& Assignment 6: Performance Single Cycle Processor Design Q 1. We wish to compare the performance of two different computers: M1 and M2. The following measurements have been made on these computers: Program Time on M1 Time on M2 12.0 seconds 1.5 seconds 25.0 seconds 10.0 seconds a- Which computer is faster for each program, and how many times as fast is it? b- Find the instruction execution rate (instructions per second) for each computer when running program 1. c- The clock rates for M1 and M2 are 3GHz and 5GHz respectively. Find the CPI for program 1 on both machines. Q2 : Consider two different implementations, M1 and M2, of the same instruction set. There are three classes of instructions (A, B, and C) in the instruction set. M1 has a clock rate of 6 GHz and M2 has a clock rate of 3GHz. The CPI for each instruction class on M1 and M2 is given in the following table: The above table also contains a summary of the usage of instruction classes generated by three different compilers: Cl, C2, and C3. Assume that each compiler generates the same number of instructions for a given program. a) (1 pt) Using Cl compiler on both M1 and M2, how much faster is 11 than M2? b) (1 pt) Using C2 compiler on both M1 and M2, how much faster is M2 than M1? c) (1 pt) If you purchase M1, which compiler would you use
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
