1. (2 marks) A particular program has an execution time of 12 seconds on a particular...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. (2 marks) A particular program has an execution time of 12 seconds on a particular system that has a clock rate of 2.5 GHz. 8 billion (i.e., 8 x 10%) machine language instructions are executed. What is the CPI? 2. (10 marks) Suppose that the following clock cycles per instruction, and frequencies of usage by a particular program, have been determined for the four instruction types of a particular system with a clock cycle time of 0.5 nanoseconds. Instruction type Clock cycles per instruction Frequency A B C D 3 1 2 4 10% 50% 20% 20% (a) What MIPS rating is achieved for this program on this system? (b) Suppose that the CPU execution time is 0.5 seconds. What must be the number of instructions executed? (c) Suppose that through use of a compiler optimization, it is possible to halve the number of executed type B instructions, with the numbers of all other types of instructions remaining the same. (i) (ii) Would the MIPS rating increase, or would it decrease, when using this optimization? By what percentage would the MIPS rating change? (iii) By what percentage would the CPU execution time decrease? 1. (2 marks) A particular program has an execution time of 12 seconds on a particular system that has a clock rate of 2.5 GHz. 8 billion (i.e., 8 x 10%) machine language instructions are executed. What is the CPI? 2. (10 marks) Suppose that the following clock cycles per instruction, and frequencies of usage by a particular program, have been determined for the four instruction types of a particular system with a clock cycle time of 0.5 nanoseconds. Instruction type Clock cycles per instruction Frequency A B C D 3 1 2 4 10% 50% 20% 20% (a) What MIPS rating is achieved for this program on this system? (b) Suppose that the CPU execution time is 0.5 seconds. What must be the number of instructions executed? (c) Suppose that through use of a compiler optimization, it is possible to halve the number of executed type B instructions, with the numbers of all other types of instructions remaining the same. (i) (ii) Would the MIPS rating increase, or would it decrease, when using this optimization? By what percentage would the MIPS rating change? (iii) By what percentage would the CPU execution time decrease?
Expert 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 programming questions
-
Q1. You have identified a market opportunity for home media players that would cater for older members of the population. Many older people have difficulty in understanding the operating principles...
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
You are the manager of a firm that produces products X and Y at zero cost. You know that different types of consumers value your two products differently, but you are unable to identify these...
-
Explain whether the receipt of boot by the shareholder in a 351 transaction causes the transaction to be fully taxable.
-
Discuss your sense of one of the photos before you read the article about it: what does it make you feel? What is it telling you? Then, write about how the article changed your understanding. Read...
-
Determine the decomposition pressure of calcium carbonate at \(600 \mathrm{~K}\) and \(1000 \mathrm{~K}\). Also determine the decomposition temperature at 1 bar.
-
Rentz Corporation is investigating the optimal level of current assets for the coming year. Management expects sales to increase to approximately $2 million as a result of an asset expansion...
-
Use the affordable debt percentages disclosed in section, "Assessing Affordability" of 33/38. Based on your gross monthly income of $10,000, you can afford a monthly PITI and What is the mortgage...
-
12.48. A particle of mass m moves in a central field attractive force of magnitude [k/r]e-a, where k and a are constants. Find the Lagrangian and Hamiltonian functions. Obtain Hamilton equations of...
-
There are all types of business leaders today, can you name a few leaders who have acted ethically in their business practices?
-
Below are two made up and abbreviated examples of the 'CEO letter to the shareholders' from the 2020 annual reports of imaginary US sports goods company Haihai Sports Inc and imaginary German sports...
-
a.According to the latest annual report, Getafix Plc has total assets of 1.2 billion and total liabilities of 400 million. The company has 100 million shares outstanding. i.Determine the net asset...
-
How does an employer use the recruiting and hiring process to attract workers with disabilities.
-
SleepSafe is a bank with branches all throughout Canada. The bank has always focused on traditional banking, but with the appointment of a new CEO, Sarah Smith, the company is moving in a different...
-
If a person could be modeled as a black body, at what wavelength would his or her surface emit the maximum energy? Assume that the normal human body temperature is about 37C.
-
The first law of thermodynamics is sometimes whimsically stated as, You cant get something for nothing, and the second law as, You cant even break even. Explain how these statements could be...
-
In this exercise, we will explore the control unit for a cache controller for a processor with a write buffer. Use the finite state machine found in Figure 5.40 as a starting point for designing your...
-
Can we use the tail-call optimization in this function? If no, explain why not. If yes, what is the difference in the number of executed instructions in f with and without the optimization?
-
Instead of thinking of an adder as a device that adds two numbers and then links the carries together, we can think of the adder as a hardware device that can add three inputs together (ai, bi, ci)...
-
Determine the variation of the radius \(r\) of the cantilevered beam that supports the uniform distributed load so that it has a constant maximum bending stress \(\sigma_{\max }\) throughout its...
-
Determine the variation in the depth \(d\) of a cantilever beam that supports a concentrated force \(\mathbf{P}\) so that it has the same maximum bending stress \(\sigma_{\max }\) throughout its...
-
Determine the variation in the width \(b\) as a function of \(x\) for the cantilevered beam that supports a uniform distributed load along its centerline so that it has the same maximum bending...
Study smarter with the SolutionInn App