1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
mash [69]
3 years ago
11

Assume a program requires the execution of 50 x 10^6 FP instructions, 110 x 10^6 INT instructions, 80 x 10^6 Load/Store (L/S) in

structions and 16 x 10^6 branch instructions. The CPI for each type of instruction is 1, 1, 4 and 2, respectively. Assume that the processor has a 2 GHz clock rate.By how much must we improve the CPI of FP instructions if we want the program to run two times faster?
Engineering
1 answer:
Svetradugi [14.3K]3 years ago
3 0

Answer:

We can not improve CPI of FP instructions when we run the program two times faster because it would be negative.

Explanation:

Processor clock rate = 2 GHz

Execution Time =   ∑  (\frac{Clock cyles}{Clock rate})

Clock cycles can be determined using following formula

Clock cycles = (CPI_{FP} x  No. FP instructions )+ ( CPI_{INT} x No. INT instructions) + ( CPI_{L/S}  x No. L/S instructions ) + ( CPI_{branch} x No. branch instructions)

Clock cycles = ( 50 x 10^{6} x 1) + (  110 x 10^{6} x 1) + ( 80 x 10^{6} x 4) + ( 16 x 10^{6} x 2)

Clock cycles = 512 x 10⁶

So,Initial Execution time for FP instructions is,

    = \frac{512(10^{6}) }{2(10^{9}) }

 Initial execution Time =  256 x 10⁻³

For 16 processors ,

clock cycle = 512 x 10⁶

Execution Time = 256 x 10⁻³

To run the program two times faster, half the number of clock cycles

(\frac{Clockcycles}{2} )=   (CPI_{FP} x  No. FP instructions )+ ( CPI_{INT} x No. INT instructions) + ( CPI_{L/S}  x No. L/S instructions ) + ( CPI_{branch} x No. branch instructions)

CPI_{FP improved} x No. FP instructions  =  (\frac{Clockcycles}{2} ) -[ ( CPI_{INT} x No. INT instructions) + ( CPI_{L/S}  x No. L/S instructions ) + ( CPI_{branch} x No. branch instructions)]

CPI_{FP improved} x 50 x 10^{6}  = ( \frac{512(10)^{6} }{2} ) - [ (  110 x 10^{6} x 1) + ( 80 x 10^{6} x 4) + ( 16 x 10^{6} x 2)]

CPI_{FP improved} x 50 x 10^{6}  =  - 206 x 10^{6}

CPI_{FP improved}  = - 206 x 10^{6} / 50 x 10^{6}

CPI_{FP improved} = - 4.12 < 0

You might be interested in
An automobile weighing 2500 lbf increases its gravitational potential energy by a magnitude of 2.25 × 104 Btu in going from an e
Mila [183]

Answer:

The elevation at the high point of the road is 12186.5 in ft.

Explanation:

The automobile weight is 2500 lbf.

The automobile increases its gravitational potential energy in 2.25 * 10^4 BTU. It means the mobile has increased its elevation.

The initial elevation is of 5183 ft.  

The first step is to convert Btu of potential energy to adequate units to work with data previously presented.

British Thermal Unit - 1 BTU = 778.17  lbf*ft

2.25 * 10^4 BTU (\frac{778.17 lbf*ft}{1BTU} ) = 1.75 * 10^7 lbf * ft

Now we have the gravitational potential energy in lbf*ft. Weight of the mobile is in lbf and the elevation is in ft. We can evaluate the expression for gravitational potential energy as follows:  

Ep = m*g*(h_2 - h_1)\\ W = m*g  

Where m is the mass of the automobile, g is the gravity, W is the weight of the automobile showed in the problem.  

h_2 is the final elevation and h_1 is the initial elevation.

Replacing W in the Ep equation

Ep = W*(h_2 -h_1)\\(h_2 -h_1) = \frac{Ep}{W} \\h_2 = h_1 + \frac{Ep}{W}\\\\

Finally, the next step is to replace the variables of the problem.  

h_2 = 5183 ft + \frac{1.75 * 10^7 lbf*ft}{2500 lbf}\\h_2 = 5183 ft + 70003.5 ft\\h_2 = 12186.5 ft

The elevation at the high point of the road is 12186.5 in ft.  

3 0
3 years ago
Your boss needs to recommend either the in-situ soil or the borrow material. Although you do not have much background on soil be
Andrej [43]

Answer: see attached file for the answer

7 0
3 years ago
What do you own that might not be manufactured?
horrorfan [7]

Answer:

A pet

Explanation:

Latin time I checked animals aren't made by people? I honestly don't know if this helps but I'm technically not wrong.

8 0
3 years ago
soccer is also called association football" A soccer ball is a sphere, with circumference of 70 centimeters. in developing a new
timama [110]

Answer: Weight on Mars = 0.02593N

Explanation:

Given; Circumference C of Sphere = 70cm = 0.7m,

Specific Gravity S. G. of material = 1.21,

acceleration due to gravity in the Mars gm = 3.7m/s^2

We know that Weight W = mass m × acceleration due to gravity.

Let the Weight in on the Mars be Wm.

Wm = m × gm

Since we are given gm, we need to calculate for m. (Note that mass m is the same everywhere)

But mass = specific gravity × volume

Since we know the specific gravity, let's go ahead to calculate for the volume of the ball.

We know that Volume of a Sphere V = (4/3)πr^3

To get r, we know that C = 2πr

Therefore, r = C/(2π) = 0.7/(2π) = (7/10)/2π = 7/20π (in meters)

V = (4/3)*π×(7/20π)^3 = 343/6000π^2 (in meter^3)

m = 343/6000π^2 × 1.21 = 7.01×10^(-3)kg

Wm = 7.01×10^(-3) × 3.7 = 0.02593N

8 0
3 years ago
Determine the design moment strength for a W21x73 steel beam with a simple span of 18 ft when lateral bracing for the compressio
SVETLANKA909090 [29]

This question is incomplete, the complete question is;

Determine the design moment strength (ϕMn) for a W21x73 steel beam with a simple span of 18 ft when lateral bracing for the compression flange is provided at the ends only (i.e., Lb = 18 ft). Report the result in kip-ft.

Use Fy=50 ksi and assume Cb=1.0 (if needed).

Answer: the design moment strength for the W21x73 steel beam is 566.25 f-ft

Explanation:

Given that;

section  W 21 x 73 steel beam;

now from the steel table table for this section;

Zx = Sx = 151 in³

also given that; fy = 50 ksi and Cb = 1.0

QMn = 0.9 × Fy × Zx

so we substitute

QMn = 0.9 × 50 × 151

QMn = 6795 k-inch

we know that;

12inch equals 1 foot

so

QMn = 6795 k-inch / 12

QMn = 566.25 f-ft

Therefore the design moment strength for the W21x73 steel beam is 566.25 f-ft

7 0
3 years ago
Other questions:
  • Explain three (3) modes of heat transfer in air conditioning system.
    7·1 answer
  • Kjhwe ,kenwif ujwfeowlwfwfwfw...
    14·2 answers
  • Add my sc please?.<br><br> kindacracked
    12·2 answers
  • Q-) please give me a reference about Tack coat? Pleae i need it please??!!
    14·1 answer
  • Thermodynamics fill in the blanks The swimming pool at the local YMCA holds roughly 749511.5 L (749511.5 kg) of water and is kep
    6·1 answer
  • In your role, you are responsible for making sure that delivery trucks depart from the building on time. When a truck arrives la
    10·1 answer
  • Periodic lubrication and oil changes according to manufacturer’s recommendations extend the life of your vehicle, and allow you
    15·1 answer
  • What were some of the challenges to safety resulting from such radical airframe designs as highly swept wings, high wing loading
    15·1 answer
  • What happens to the duty cycle for a GMAW Gun when 75Ar/25COzgas
    5·1 answer
  • Question 3
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!