Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. We wish to compare the performance of two different machines: M1 and M2 The following measurements have been made on these machines Program Time
2. We wish to compare the performance of two different machines: M1 and M2 The following measurements have been made on these machines Program Time on M1 2 seconds 5 seconds Time on M2 1.5 seconds 10 seconds a) Which computer is faster for each program and how many times as fast is it? b) If the following additional measurements were made Instructions executed on M1 5x 10 Program Instructions executed on M2 6x 10 Find the instruction execution rate (instructions per second) for each computer when running program 1 c) If the clock rates of machine M1 and M2are 4GHz and 6GHz respectively, find the clock cycles per instruction (CPI) for program 1 on both machines using the data in a) and b) d) Assuming that CPI for program 2 on each computer is the same as the CPl for program 1 found in c), find the instruction count for program 2 running on each computer using the execution times from the first table. 2. We wish to compare the performance of two different machines: M1 and M2 The following measurements have been made on these machines Program Time on M1 2 seconds 5 seconds Time on M2 1.5 seconds 10 seconds a) Which computer is faster for each program and how many times as fast is it? b) If the following additional measurements were made Instructions executed on M1 5x 10 Program Instructions executed on M2 6x 10 Find the instruction execution rate (instructions per second) for each computer when running program 1 c) If the clock rates of machine M1 and M2are 4GHz and 6GHz respectively, find the clock cycles per instruction (CPI) for program 1 on both machines using the data in a) and b) d) Assuming that CPI for program 2 on each computer is the same as the CPl for program 1 found in c), find the instruction count for program 2 running on each computer using the execution times from the first table
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started