Our favorite program runs in 10 seconds on computer A, which has a 2 GHz clock....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Our favorite program runs in 10 seconds on computer A, which has a 2 GHz clock. We are trying to help a computer designer build a computer, B, which will run this program in 6 seconds. The designer has determined that a substantial increase in the clock rate is possible, but this increase will affect the rest of the CPU design, causing computer B to require 1.2 times as many clock cycles as computer A for this program. What clock rate should we tell the designer to target? [9] Two different compilers are being tested for a 500 MHz machine with three different classes of instructions: Class A, Class B, and Class C, which require 1, 2 and 3 cycles (respectively). Both compilers are used to produce code for a large piece of software. " Compiler 1 generates code with 5 billion Class A instructions, 1 billion Class B instructions, and 1 billion Class C instructions. Compiler 2 generates code with 10 billion Class A instructions, 1 billion Class B instructions, and 1 billion Class C instructions. (a) Which sequence will be faster according to MIPS? (b) Which sequence will be faster according to execution time? Our favorite program runs in 10 seconds on computer A, which has a 2 GHz clock. We are trying to help a computer designer build a computer, B, which will run this program in 6 seconds. The designer has determined that a substantial increase in the clock rate is possible, but this increase will affect the rest of the CPU design, causing computer B to require 1.2 times as many clock cycles as computer A for this program. What clock rate should we tell the designer to target? [9] Two different compilers are being tested for a 500 MHz machine with three different classes of instructions: Class A, Class B, and Class C, which require 1, 2 and 3 cycles (respectively). Both compilers are used to produce code for a large piece of software. " Compiler 1 generates code with 5 billion Class A instructions, 1 billion Class B instructions, and 1 billion Class C instructions. Compiler 2 generates code with 10 billion Class A instructions, 1 billion Class B instructions, and 1 billion Class C instructions. (a) Which sequence will be faster according to MIPS? (b) Which sequence will be faster according to execution time?
Expert Answer:
Answer rating: 100% (QA)
1 Optimal Clock Rate for Program B Relationship between clock rate and execution time Execution time T is inversely proportional to clock rate f for a ... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
At a daycare, 4 0 % of the kids were absent due to whooping cough. If 1 6 kids stayed home, how many kids does the daycare normally have?At a daycare, 4 0 % of the kids were absent due to whooping...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
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...
-
No Opportunity Costs The Van Division of MotoCar Corporation has offered to purchase 180,000 wheels from the Wheel Division for $41 per wheel. At a normal volume of 500,000 wheels per year,...
-
State whether each of the following statements concerning the sample variance is true or false. (a) The value of the sample variance is an unbiased estimator of the population variance when dividing...
-
Wiseman Video plans to make four annual deposits of $2,000 each to a special building fund. The fund's assets will be invested in mortgage instruments expected to pay interest at 12% on the fund's...
-
Apex, Inc., had Sales Revenue of $47 million, Sales Returns and Allowances of $2 million and Sales Discounts of $0.5 million in 2010. Cost of goods sold was $24 million, and net income was $7 million...
-
Patton issues $650,000 of 5%, four-year bonds dated January 1, 2011, that pay interest semiannually on June 30 and December 31. They are issued at $584,361 and their market rate is 8% at the issue...
-
Jeri is a sole proprietor who has owned and operated a lighting design business for many years. She runs the business from her home, and in 2022, her business generated a net profit of $25,800. Jeri...
-
Bradley, age 26, recently graduated from college. He had coverage earlier as a dependent under his father's group health insurance policy, which provided coverage for him to age 26. However, he has...
-
Belinda Best is interested in valuing and potentially buying shares in Big Sky Ltd, which is growing at a constant rate of 8 percent per annum. Last year, the company paid a dividend of $1.15. The...
-
In which way does this book cover CPS and IoT design?
-
Which challenges must be overcome in order to fully take advantage of the opportunities?
-
Which description techniques can be used for capturing initial ideas about the system to be designed?
-
How could we model design flows?
-
Why are we interested in energy-aware computing?
-
An insurance company owns a 20-year 5 percent Treasury bond. The bond has a $100,000 face value and pays its coupon semiannually. Its duration is 12.4490, current market price is $95,734 and its...
-
Answer the following two independent questions. a. MM Corporation is considering several proposed investments for the coming budget year. MM produces electrical apparatus for industrial complexes....
-
Rework Problem 13-16 using the unrestricted form of the mixed model. You may use a computer software package to do this. Comment on any differences between the restricted and unrestricted model...
-
Assuming that chemical types and bolts are fixed, estimate the model parameters i and j in Problem 4-1. Problem 4-1. A chemist wishes to test the effect of four chemical agents on the strength of a...
-
Plot the average bacteria counts for each solution in Problem 4-2 and compare them to a scaled t distribution. What conclusions can you draw? Problem 4-2 Three different washing solutions are being...
-
(a) Design the saturated load inverter circuit in Figure 16.5 (a) such that the power dissipation is \(0.30 \mathrm{~mW}\) and the output voltage is \(0.08 \mathrm{~V}\) for \(v_{I}=1.4...
-
An NMOS inverter with saturated load is shown in Figure 16.5(a). The bias is \(V_{D D}=3 \mathrm{~V}\) and the transistor threshold voltages are \(0.5 \mathrm{~V}\). (a) Find the ratio \(K_{D} /...
-
Consider the NMOS inverter with saturated load in Figure 16.5(a). Let \(V_{D D}=3 \mathrm{~V}\). (a) Design the circuit such that the power dissipation in the circuit is \(400 \mu \mathrm{W}\) and...
Study smarter with the SolutionInn App