(d) Consider two CPUS P1 and P2, each implementing the same ISA and executing a program...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
(d) Consider two CPUS P1 and P2, each implementing the same ISA and executing a program P. Program P comprises four classes of instructions: A, B, C, and D. The clock frequency of each CPU and CPI for each instruction class for each CPU is given in the table. CPU Clock Frequency P1 2.0GHz P2 3.0GHz CPI per Instruction Class Class A Class B Class C Class D Class E 1.0 2.0 3.0 4.0 3.0 2.0 2.0 2.0 4.0 4.0 i. Assume peak performance is defined as the fastest rate a CPU can execute any program (or instruction sequence). What is the peak performance of CPUS P1 and P2 expressed in instructions per second? ii. If the number of instructions executed by CPUS P1 and P2 for program P is divided equally among the instruction classes except for class A, which occurs twice as often as each of the others, which CPU executes program P. What is the speedup and percent speedup? iii. If the number of instructions executed by CPUS P1 and P2 for program P is divided equally among the instruction classes except for class E, which occurs twice as often as each of the others, which CPU executes program P. What is the speedup and percent speedup? (d) Consider two CPUS P1 and P2, each implementing the same ISA and executing a program P. Program P comprises four classes of instructions: A, B, C, and D. The clock frequency of each CPU and CPI for each instruction class for each CPU is given in the table. CPU Clock Frequency P1 2.0GHz P2 3.0GHz CPI per Instruction Class Class A Class B Class C Class D Class E 1.0 2.0 3.0 4.0 3.0 2.0 2.0 2.0 4.0 4.0 i. Assume peak performance is defined as the fastest rate a CPU can execute any program (or instruction sequence). What is the peak performance of CPUS P1 and P2 expressed in instructions per second? ii. If the number of instructions executed by CPUS P1 and P2 for program P is divided equally among the instruction classes except for class A, which occurs twice as often as each of the others, which CPU executes program P. What is the speedup and percent speedup? iii. If the number of instructions executed by CPUS P1 and P2 for program P is divided equally among the instruction classes except for class E, which occurs twice as often as each of the others, which CPU executes program P. What is the speedup and percent speedup?
Expert Answer:
Answer rating: 100% (QA)
i Peak Performance To find the peak performance we need to consider the instruction with the highest CPI Cycles Per Instruction for each CPU This is b... View the full answer
Related Book For
Computer Organization And Design The Hardware Software Interface
ISBN: 9780123747501
4th Revised Edition
Authors: David A. Patterson, John L. Hennessy
Posted Date:
Students also viewed these programming questions
-
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...
-
Farley, Inc., is a manufacturer that produces customized computer components for several wellknown computer-assembly companies. Farleys latest contract with CompWest.com calls for Farley to deliver...
-
When the Stanford - Binet "IQ test" came into use in 1932, It was adjusted so that scores for each age group of children followed roughly the normal distribution with mean = 100 and standard...
-
The tensile stress-strain behavior of pure aluminum is shown in graphs following. Determine the following properties for pure Al. a) Youngs modulus, b) 0.2% offset yield strength, c) tensile...
-
We first study 3-PBA, a commonly used insecticide found in grains, fruits, and vegetables. How much higher are 3-PBA concentrations while not eating organic versus eating organic? A bootstrap...
-
In 1985, Lincoln Limited completed the construction of a building at a cost of $ 1.8 million; it occupied it in January 1986. It was estimated that the building would have a useful life of 40 years...
-
You've been provided the demand and supply equation for a Sydney transport company. P = 300e-0.2Qa P = 2e0.80s Where P, Qa, and Qs denote the price and quantity demanded and quantity supplied,...
-
What is the correct debit or credit for the following scenario: A contract was issued for the major part of work to be done by a private contractor in the amount of $1,200,000 for a new County court...
-
Suppose we have an n x 2n grid of points. We start at the point in the upper-left corner (the point at position (1,1)), and we would like to reach the point at the lower-right corner (the point at...
-
Given the equation below: Evaluate 100 000 n+n+1 n=1 1.1.1. using a for loop and find the computing runtime 1.1.2. using the vectorising and find the computing the runtime. 1.1.3. What difference in...
-
Consider the DFA M shown in Figure 1. 1. Convert the DFA M into an equivalent Generalized Nondeterministic Finite Automata (GNFA). 2. Remove state q3 using the method described in class to make a...
-
For the following set of strings A over alphabet = {0, 1}, demonstrate that A is regular by constructing an NFA, DFA or a regular expression. A = {w E* | (#0(w) %3 = 1} = {w * | dividing the number...
-
Standard Information: Football's Density = 14 ounces Football Throw Distance = 80 yards Football Quarterback = Patrick Mahomes Gravity Force = -9.81 m/s^2 Air Density at Sea Level = 1.29 kg/m^3 Main...
-
Ronald has approached you to advise him regarding a business that he intends purchasing, Ronald is also interested to advise him on some accounting related matters. An Extract from the financial...
-
A consultant is beginning work on three projects. The expected profits from these projects are $50,000, $72,000, and $40,000. The associated standard deviations are $10,000, $12,000, and $9,000....
-
The following problems deal with translating from C to MIPS. Assume that the variables g, h, i, and j are given and could be considered 32-bit integers as declared in a C program. For the C...
-
What are the best-case and worst-case numbers of cache misses needed to execute the listed read/write instructions? Cache coherence concerns the views of multiple processors on a given cache block....
-
This exercise deals with recursive procedure calls. For the following problems, the table has an assembly code fragment that computes the factorial of a number. However, the entries in the table have...
-
Cress Trust owns houses in Marion County, for whom Rainbow Realty Group, Inc., sells, rents, and manages. The same person serves as Rainbows president and Cresss corporate trustee. Cress offers four...
-
Genevieve and William Timmons began their tenancy of a ground-floor apartment at Cobblestone Square in September 2011. Kingsley-Johnston, Inc., is a property management company responsible for...
-
Linda Miller rented 35 acres of pastureland in Wabaunsee County, Kansas, from William Burnett for $1,000 per year. Miller and her husband used the land to grow and harvest brome grass for their...
Study smarter with the SolutionInn App