Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 5: Consider an experiment where three programs 1, 2 and 3 are run on three computers A, B, and C. The table illustrates the
Question 5: Consider an experiment where three programs 1, 2 and 3 are run on three computers A, B, and C. The table illustrates the total clock cycles needed for each program and their corresponding runtime on each computer: A. Which computer has the highest performance, if all the programs 1,2 , and 3 are executed sequentially on each computer? B. What is the relative performance of the fastest computer compared to the slower computers? Write your answers in the following format: "Computer X is n times faster than computer Y!" Question 6: Compilers can have a profound impact on the performance of an application. Assume that for a program, compiler A results in an instruction count of 1.0E9(1.0109) and has an execution time of 1.1s, and compiler B results in an instruction count of 1.2E9 and 1.5s. A. Calculate the average CPI of compiler A and B assuming a clock cycle time of 1ns. B. Compiler C creates for the same code 6.0E8 instructions and has an average CPI of 1.1. What is the CPU execution time of Compiler C assuming a clock cycle time of 1ns? Question 7: Assume a program requires the execution of 50106 Floating Point (FP) instructions, 110106 Integer instructions, 80106 Load/Store instruction, and 16106 branch instructions. The CPI for each type of instruction is 1,1,4, and 2 , respectively. Assume the processor has a 2GHz clock rate. A. What is the CPU execution time of this program? B. Assuming we want the program to run 10% faster by improving only the FP CPI value, what is the value of the new CPIFP' to achieve this goal
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