Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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 5.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 C1 compiler on both M1 and M2, how much faster is M1 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions