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
Io[iiiiiioooiiijjsjsj
-Dominant- [34]
Hungujnggttssyinoiookoiooiioooiiioiiiiioojjjjjkokksjok
8 0
3 years ago
Read 2 more answers
Sasha goes back through her architectural design books for inspiration and designs the new country club to have a Romanesque fee
vfiekz [6]
She should create a computer animated view of the design to walk the client through it so that client will understand and get the picture of the design.
3 0
3 years ago
Name their temperaments:
elena55 [62]

Answer:

Hillary Clinton

president Donald Trump

Explanation:all want to vie for presidency

8 0
3 years ago
A rectangular block of material with shear modulus G= 620 MPa is fixed to rigid plates at its top and bottom surfaces. Thelower
PIT_PIT [208]

Answer:

γ_{xy} =0.01, P=248 kN

Explanation:

Given Data:

displacement = 2mm ;

height = 200mm ;

l = 400mm ;

w = 100 ;

G = 620 MPa = 620 N//mm²;    1MPa = 1N//mm²

a. Average Shear Strain:

The average shear strain can be determined by dividing the total displacement of plate by height

γ_{xy} = displacement / total height

     = 2/200 = 0.01

b. Force P on upper plate:

Now, as we know that force per unit area equals to stress

τ = P/A

Also,  τ = Gγ_{xy}

By comapring both equations, we get

P/A = Gγ_{xy}   ------------ eq(1)

First we need to calculate total area,

A = l*w = 400 * 100= 4*10^4mm²

By putting the values in equation 1, we get

P/40000 = 620 * 0.01

P = 248000 N or 2.48 *10^5 N or 248 kN

6 0
3 years ago
PLEASE HELP, THANK YOU
Elena L [17]

Answer:

6,3,2,5,1,4 because they jst are

Explanation:

3 0
3 years ago
Other questions:
  • What are primary and secondary super-heaters?
    9·1 answer
  • Continuing education and seeking opportunities for relaxation are two types of professional development.
    14·2 answers
  • Explain why failure of this garden hose occurred near its end and why the tear occurred along its length. Use numerical values t
    15·1 answer
  • When should you exercise extreme caution around power lines?
    6·1 answer
  • A town is designing a rectangular, 4m deep settling tank for treating surface water intake. The tank will have a flow velocity o
    14·1 answer
  • A 3/8-16 UNC nut and bolt are used to assemble steel plates. The clearance holes in the plates are 7/16 in. The plates are clamp
    13·1 answer
  • Q4. The gross command area of canal is
    6·1 answer
  • If a population has no predadors and plenty of available resources, how might that population change
    15·1 answer
  • Optimum engine oil pressure at operating temperature and moderate engine load should be __________ ps
    5·1 answer
  • Free poînts lol Philippînes - cool<br>​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!