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
The spring has a stiffness k = 200 N&gt;m and an unstretched length of 0.5 m. If it is attached to the 3-kg smooth collar and th
ruslelena [56]

Answer:

15.467 m/s

Explanation:

See attached picture.

4 0
3 years ago
How is an orthographic drawing similar to or different from an isometric drawing?
evablogger [386]
An isometrical drawing is a nearly 3d drawing showing the object's width and depth in a complete image, from each curved plane of the orthhographic view, the viewpoint is at a 45 degree angle. From an observations point of view, isometric differs, since all longitudes are true.
4 0
2 years ago
Read 2 more answers
Can the United States defeat Iranian forces
Lostsunrise [7]

Answer:

yes for sure

Explanation:

iran oy has 3000 ballistic missiles but america has thousands of nukes. we can easily outnumber their forces as well. this will be a easy victory for us but will result in massive casualties on both sides

5 0
2 years ago
Read 2 more answers
Vivian's Violins has sales of $326,000, contribution margin of $184,000 and fixed costs total $85,000. Vivian's Violins net oper
frosja888 [35]

Based on the calculations, Vivian's Violins net operating income is equal to: D. $99,000.

<h3>How to calculate net operating income?</h3>

Mathematically, the net operating income of an individual or business firm can be calculated by using this formula:

Net operating income = Contribution margin - Total fixed costs

<u>Given the following data:</u>

  • Sales = $326,000
  • Contribution margin = $184,000
  • Fixed costs total $85,000

Substituting the given parameters into the formula, we have;

Net operating income = $184,000 - $85,000

Net operating income = $99,000.

Read more on net operating income here: brainly.com/question/24165947

#SPJ1

5 0
1 year ago
True/False
sweet [91]

Answer:

false jdbebheuwowjwjsisidhhdd

7 0
2 years ago
Other questions:
  • Admission to an aquarium is $14 per person. There is also an IMAX theatre in the building, which charges $8 per ticket for a 3D
    8·1 answer
  • For a 68 wt% Zn-32 wt% Cu alloy, make schematic sketches of the microstructure that would be observed for conditions of very slo
    14·1 answer
  • HELP PLEASE<br> this is for drivers ed btw
    5·1 answer
  • A parallel circuit with two branches and an 18 volt battery. Resistor #1 on the first branch has a value of 220 ohms and resisto
    7·1 answer
  • The ultimate BOD of a river just below a sewage outfall is 50.0 mg/L, and the oxygen deficit at the outfall D0 is 2.0 mg/L. The
    6·1 answer
  • How many times has the ITU-R revised the CCIR 601 international standard? A. four B. five C. six D. seven
    8·1 answer
  • What can you add to a seatbelt ??<br> HELP ASAP
    15·1 answer
  • The reversible and adiabatic process of a substance in a compressor begins with enthalpy equal to 1,350 kJ/kg, and ends with ent
    15·1 answer
  • Bob would like to run his house off the grid, therefore he needs to find out how many solar panels and batteries he needs to buy
    12·1 answer
  • NO SCAMS
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!