We wish to compare the performance of two different machines: M1 and M2. The fol
ID: 3666233 • Letter: W
Question
We wish to compare the performance of two different machines: M1 and M2. The following measurements have been made on these machines
12. We wish to compare the performance of two different machines: M1 and M2. The following measurements have been made on these machines: Time on M2 Program Time on M1 10 secs 5 secs 3 secs 4 secs Which machine is faster for each program and by what percent? 13. Consider the two machines and programs in Problem 12. The following additional measurements are made: Program Instructions executed on M1 Instructions executed on M2 200 10 160 10 Find the instruction execution rate (instructions per second) for each machine when running program 14. If the clock rates of machines M1 and M2 in Problem 12 are 200 MHz and 300 MHz respectively, find the clock cycles per instruction (i.e., CPI) for program on both machines using data given in Problems 12 and 13. 15. Assume that the CPI for program 2 on each machine is the same as the CPI for program l computed in Problem 14. Using these CPI values find the Instruction Count for program 2 running on each machine (use the execution times from Problem 12)Explanation / Answer
Solution 12 :
Program 1 : M2 faster by 50%
Program 2 : M1 faster by 25%
Solution 13 :
Execution Rate M1 : 200*10^5
Execution Rate M2 : 32 * 10^6
Solution 14 :
CPI M1 = 10
CPI M2 = 9.375
Solution 15
Instruction Count Program 2 M1 : 6* 10^7
Instruction Count Program 2 M2 : 68266666.667
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.