For this problem, assume that two different programs are run on the same computer with a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
For this problem, assume that two different programs are run on the same computer with a 2GHz clock frequency. Program A has 1e9 instructions and an average CPI of 1, and program B has and 2e9 instructions and an average CPI of 0.8. (5 points) How long would you expect each program to run? b. (10 points) How much faster would you expect Program A to be with respect to Program B? (10 points) After re-compiling both programs with a different compiler, both programs are found to have the same execution time. What does this imply about the new instructions and CPIs of the programs? (be specific, with an equation) For this problem, assume that two different programs are run on the same computer with a 2GHz clock frequency. Program A has 1e9 instructions and an average CPI of 1, and program B has and 2e9 instructions and an average CPI of 0.8. (5 points) How long would you expect each program to run? b. (10 points) How much faster would you expect Program A to be with respect to Program B? (10 points) After re-compiling both programs with a different compiler, both programs are found to have the same execution time. What does this imply about the new instructions and CPIs of the programs? (be specific, with an equation) For this problem, assume that two different programs are run on the same computer with a 2GHz clock frequency. Program A has 1e9 instructions and an average CPI of 1, and program B has and 2e9 instructions and an average CPI of 0.8. (5 points) How long would you expect each program to run? b. (10 points) How much faster would you expect Program A to be with respect to Program B? (10 points) After re-compiling both programs with a different compiler, both programs are found to have the same execution time. What does this imply about the new instructions and CPIs of the programs? (be specific, with an equation) For this problem, assume that two different programs are run on the same computer with a 2GHz clock frequency. Program A has 1e9 instructions and an average CPI of 1, and program B has and 2e9 instructions and an average CPI of 0.8. (5 points) How long would you expect each program to run? b. (10 points) How much faster would you expect Program A to be with respect to Program B? (10 points) After re-compiling both programs with a different compiler, both programs are found to have the same execution time. What does this imply about the new instructions and CPIs of the programs? (be specific, with an equation)
Expert Answer:
Answer rating: 100% (QA)
This problem is related to computer architecture specifically calculating the execution time for pro... View the full answer
Related Book For
Computer Organization and Design The Hardware Software Interface
ISBN: 978-0124077263
5th edition
Authors: David A. Patterson, John L. Hennessy
Posted Date:
Students also viewed these accounting questions
-
Compilers can have a profound impact on the performance of an application. Assume that for a program, compiler A results in a dynamic instruction count of 1.0E9 and has an execution time of 1.1 s,...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
April Moon set a record in flight shooting. In 1981 in Utah, she sent an arrow a horizontal distance of 950 m. What was the speed of the arrow at the top of the flight if the arrow was launched at an...
-
When Skylab reentered the Earth's atmosphere on July 11, 1979, it broke into a myriad of pieces. One of the largest fragments was a 1770-kg lead-lined film vault, and it landed with an estimated...
-
A machining process has a required dimension on a part of 0.515 0.007 inches. Twenty-five parts were measured as found in the Ch04Data.xlsx file for Prob04-10 on the Student Companion Site. What is...
-
Show how the minimum wage creates unemployment in a competitive market.
-
How do manufacturing costs flow through inventory accounts?
-
Fist Fight. Kyle punched Walt in the face in the parking lot of a local bar, breaking Walt's nose. Kyle was charged with aggravated assault. He claims self-defense; Kyle states that Walt was angry...
-
Grow It All Farms Ltd. is an agri-business that grows a variety of different grains on the land that it owns. Operations have been steadily expanding over the last few years. The company has now...
-
It seemed to Duke that Lucinda Furtado, a housekeeping attendant, somehow was a link to the concerns about staff morale. Lucinda, an immigrant from the Philippines, had been working at the hotel for...
-
Mark earns $12.00 per hour as a server in a coffee shop. If a person orders only a coffee, he is supposed to ask them if they would also like a doughnut. For every doughnut Mark sells in that way, he...
-
Forecasting with Parsimonious Method and Estimating Share Value... Forecasting with Parsimonious Method and Estimating Share Value Using the DCF Model Following are income statements and balance...
-
Have you ever "spun up" a virtual machine before? If so, what did you use it for? If not, what do you believe the value of virtualization and/or virtual machines are for a help desk specialist?...
-
watched youtube videos and work on authentic leadership and servant leadership. https://youtu.be/ywX3V69EbA8 https://youtu.be/zrxHxGwVEMo Authentic Leadership Servant Leadership
-
Patricia is single and her son Quinn is age 11. If her AGI is $207,000, what amount of child tax credit can she claim?
-
Verify Stokes Theorem for the vector field where S is the portion of the surface x^2+y^2+z^2=1 located below the plane z=0. P = yi - zj+zk
-
Rowland Textile Inc. manufactures two products: sweatshirts and T-shirts. The manufacturing process involves two activities: cutting and sewing. Expected overhead costs and cost drivers are as...
-
When performing computations on sparse matrices, latency in the memory hierarchy becomes much more of a factor. Sparse matrices lack the spatial locality in the data stream typically found in matrix...
-
Download the CUDA Toolkit and SDK from http://www.nvidia.com/object/ cuda_get.html. Make sure to use the ?emurelease? (Emulation Mode) version of the code (you will not need actual NVIDIA hardware...
-
In future systems, we expect to see heterogeneous computing platforms constructed out of heterogeneous CPUs. We have begun to see some appear in the embedded processing market in systems that contain...
-
Consider a dilute aqueous slurry containing solid particles with diameters from 0.1 to $1000 \mu \mathrm{m}$ and a density of $2.7 \mathrm{~g} / \mathrm{cc}$, flowing at a rate of $500 \mathrm{gpm}$....
-
A bed of coal particles, $2 \mathrm{ft}$ in diameter and $6 \mathrm{ft}$ deep, is fluidized using a hydrocarbon liquid with a viscosity $15 \mathrm{cP}$ and a density of $0.9 \mathrm{~g} /...
-
Calculate the range of water velocities that will fluidize a bed of glass spheres $(S G=2.1)$ if the sphere diameter is (a) $2 \mathrm{~mm}$, (b) $1 \mathrm{~mm}$, and (c) $0.1 \mathrm{~mm}$.
Study smarter with the SolutionInn App