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
1. A thin plate of a ceramic material with E = 225 GPa is loaded in tension, developing a stress of 450 MPa. Is the specimen lik
mina [271]

Answer:

fracture will occur as the value is less than E/10 (= 22.5)

Explanation:

If the maximum strength at tip Is greater than theoretical fracture strength value then fracture will occur and if the maximum strength is lower than theoretical fracture strength then no fracture will occur.

\sigma_m = 2\sigma_o [\frac{a}{\rho_t}]^{1/2}

=  2\times 750 (\frac{\frac{0.2mm}{2}}{0.001 mm}})^{1/2}

                 = 15 GPa

fracture will occur as the value is less than E/10 = 22.5

7 0
3 years ago
If a worksite includes more than one set of management and workers, who should have access to the information, training, and con
Elden [556K]

Answer:

In a work site with more than one set of management and workers the Health and  safety officers in each set  should have access to the information, training and controls needed to avoid workplace accidents

Explanation:

The primary aim of a health and  safety officer in a workplace is to prevent accidents,injuries and work-related sickness from occurring in the work site by creating and implementing health and safety policies according to international standards and also ensure that these policies are implemented  by the sets of management and workers/staffs of the work site.  to achieve these they therefore should have access to the information,training and controls needed to avoid workplace accidents

4 0
3 years ago
Read 2 more answers
Engineering is the use of scientific principles to design and build machines, structures, and other items, including bridges, tu
Thepotemich [5.8K]

Is this a question or a statement?

4 0
3 years ago
What is the thermal energy contained within a cubic kilometre of granite (in barrels of oil equivalent) for every one degree cha
AnnZ [28]

Answer:

348643.34 barrels of oil

Explanation:

Given;

Volume of the granite = 1 km³ = 1000³ m³

Specific heat of granite, C = 790 J/kg.°C

Density of granite = 2700 kg/m³

Energy in 1 barrel of oil = 6.118 × 10⁹ J

For every 1° change in temperature, ΔT = 1°C

Now,

The thermal energy stored is given as;

Thermal energy = mCΔT

where, m is the mass

the mass of 1 km³ of granite = Density × Volume

or

the mass of 1 km³ of granite = 2700 × 1000³ = 27 × 10¹¹ Kg

therefore,

Thermal energy = 27 × 10¹¹ × 790 × 1

or

Thermal energy = 21330 × 10¹¹ J

hence,

the thermal energy in terms of barrels of oil

= Total thermal energy / Energy stored in 1 barrel of oil

= 21330 × 10¹¹ J / ( 6.118 × 10⁹ J per barrel )

= 348643.34 barrels of oil

4 0
3 years ago
Anna Litical and Noah Formula are experimenting with the effect of mass and net force upon the acceleration of a lab cart. They
const2013 [10]

Answer:

manda a senha senha do brainly bloquearam os amigos bloquearam os amigos e você vai ver o meu perfil você vai ver o meu perfil você vai ver o meu perfil completo a minha amiga Jeciane estamos fazendo uma academia de lima e fazendo uma academia de lima e fazendo uma academia de lima e fazendo uma academia de lima e fazendo uma academia de lima e você vai ver o meu perfil completo a minha amiga Jeciane estamos fazendo uma academia de lima e você vai ver o meu perfil completo a minha amiga Jeciane estamos fazendo uma academia de lima e você vai ver o meu perfil completo a minha amiga Jeciane estamos fazendo uma academia de lima e você vai ver o meu perfil completo a minha amiga Jeciane estamos fazendo uma academia de lima e

Explanation:

Marcar como melhor porfavo

8 0
3 years ago
Other questions:
  • The head difference between the inlet and outlet of a 1km long pipe discharging 0.1 m^3/s of water is 0.53 m. If the diameter is
    11·1 answer
  • A motor vehicle has a mass of 1.8 tonnes and its wheelbase is 3 m. The centre of gravity of the vehicle is situated in the centr
    14·1 answer
  • An air conditioner using refrigerant-134a as the working fluid and operating on the ideal vapor-compression refrigeration cycle
    7·2 answers
  • In highways the far left lane is usually the _____
    11·2 answers
  • Do all websites use the same coding to create?
    8·1 answer
  • Steam at 1400 kPa and 350°C [state 1] enters a turbine through a pipe that is 8 cm in diameter, at a mass flow rate of 0.1 kg⋅s−
    15·1 answer
  • Engineers design for everyone and consider all design challenges opportunities to problem-solve. The roller coaster in this phot
    5·1 answer
  • Which of the following is not true about manufacturing employment in the U.S?
    15·1 answer
  • Its been days wsgggggg
    12·2 answers
  • You have three gear wheels a, b and c connected to each other,if you turn the first gear wheel "a" clockwise what will happen to
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!