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]
4 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]4 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
A company buys a machine for $12,000, which it agrees to pay for in five equal annual payments, beginning one year after the dat
Yuki888 [10]

Answer:

$7,778.35

Explanation:

At year 3, the final payment of the remaining balance is equal to the present worth P of the last three payments.

First, calculate the uniform payments A:

A = 12000(A/P, 4%, 5)

= 12000(0.2246) = 2695.2  (from the calculator)

Then take the last three payments as its own cash flow.

To calculate the new P:

P = 2695.2 + 2695.2(P/A, 4%, 2) = 2695.2 + 2695.2(1.886) = 7778.35

Therefore, the final payment is $7,778.35

4 0
4 years ago
Solve the questions in the picture
STatiana [176]
15x -/c/ fb is the answer
6 0
3 years ago
Which option identifies the next step Kristin should take to test the design in the following scenario?
Nadusha1986 [10]
The 2d sketch should be right
4 0
3 years ago
The convection coefficient for flow over a solid sphere may be determined by submerging the sphere, which is initially at 25 °C,
sashaice [31]

Answer:

t = 59.37 s

Explanation:

Given data:

thermal diffusivity = \alpha = \frac{k}{\rho c_p} =0.40\times 10^{-0.5}

theraml conductivity = k = 22 W/m.K

h = 300 W/ m^2.K

T_i = 25 degree C = 298 k

T_o = 60 degree C = 333 k

T_{\infty}= 75 degree C =  348 L

diameter d = 0.1 m

characteristics length Lc = r/3 = = 0.0166

Bi = \frac{hLc}{K} = \frac{300\times 0.0166}{22} = 0.226

\tau = \frac{\alpha t}{lc^2} = \frac{0.4\times 10^{-5}\times t}{0.0166^2}

\tau = 0.036 t

\frac{T_o -T_{\infty}}{T_i -T_{\infty}} = Ae^[\lambda^2 \tau}

at Bi = 0.226

Ai = 0.982

\lambda = 0.876

\frac{333348}{298-348} = 0.982e^{-0.879^2 0.036t}

0.3 = 0.982 e^{-0.2t}

0.305 = e^{-0.2t}

-1.187 = - 0.02t

t = 59.37 s

7 0
3 years ago
The constant A in Equation 17.2 is 12π4 R/5(θD) 3 where R is the gas constant and θD is the Debye temperature (K). Estimate θD f
kirill115 [55]

Answer:

The Debye temperature for aluminum is 375.2361 K

Explanation:

Molecular weight of aluminum=26.98 g/mol

T=15 K

The mathematical equation for the specific heat and the absolute temperature is:

C_{v} =AT^{3}

Substituting in the expression of the question:

C_{v} =(\frac{12\pi ^{4}R }{5\theta _{D}^{3}  } )T^{3}

\theta _{D} =(\frac{12\pi ^{4}RT^{3}  }{5C_{v}   } ) ^{1/3}

Here

C_{v} =4.6\frac{J}{kg-K} *\frac{1kg}{1000g} *\frac{26.98g}{1mol} =0.1241J/mol-K

Replacing:

\theta _{D}  =(\frac{12\pi ^{4}*8.31*15^{3}  }{5*0.1241} )^{1/3} =375.2361K

3 0
3 years ago
Other questions:
  • A cylindrical tank is required to contain a gage pressure 520 kPa . The tank is to be made of A516 grade 60 steel with a maximum
    6·1 answer
  • You are preparing to work with Chemical A. You open the appropriate storage cabinet, and notice Chemical B, as well as Chemical
    9·1 answer
  • Which should i get they are both for sale
    10·2 answers
  • Since no one is perfect is that a sentence fragment
    10·2 answers
  • A horizontal curve of a two-lane undivided highway (12-foot lanes) has a radius of 678 feet to the center line of the roadway. A
    8·1 answer
  • What car has autopilot?
    14·2 answers
  • For RTK to work, what do we need besides two or more receivers collecting data from a sufficient number of satellites simultaneo
    11·1 answer
  • A conceptual issue can be resolved by which of the following?
    11·1 answer
  • How to make a police car ​
    9·1 answer
  • Silicon chips are used primarily in ?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!