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
Which type of system is being researched to deliver power to several motors to drive multiple systems in vehicles?
qaws [65]

Answer:

pneumatic power system

Explanation:

pneumatic power can be used to quietly operate power windows, door locks, power mirrors, and much much more, also negative pressure pneumatics (vacuum) is used to control many engine and fuel systems

8 0
2 years ago
A cartridge electrical heater is shaped as a cylinder of length L=200mm and outer diameter D=20 mm. Under normal operating condi
lara31 [8.8K]

Answer:

T(water)=50.32℃

T(air)=3052.6℃

Explanation:

Hello!

To solve this problem we must use the equation that defines the transfer of heat by convection, which consists of the transport of heat through fluids in this case water and air.

The equation is as follows!

Q=ha(Ts-T\alpha )

Q = heat

h = heat transfer coefficient

Ts = surface temperature

T = fluid temperature

a = heat transfer area

The surface area of ​​a cylinder is calculated as follows

a=\pi D(\frac{D}{2} +L)

Where

D=diameter=20mm=0.02m

L=leght=200mm)0.2m

solving

a=\pi (0.02)(\frac{0.02}{2} +0.2)=0.01319m^2

For water

Q=2Kw=2000W

h=5000W/m2K

a=0.01319m^2

Tα=20C

Q=ha(Ts-T\alpha )

solving for ts

Ts=T\alpha +\frac{Q}{ha}

Ts=20+\frac{2000}{(0.01319)(5000)} =50.32C

for air

Q=2Kw=2000W

h=50W/m2K

a=0.01319m^2

Tα=20C

Ts=20+\frac{2000}{(0.01319)(50)}=3052.6C

3 0
3 years ago
If you touch a downed power line, covered or bare, what's the likely outcome?
olya-2409 [2.1K]

Answer:

you get electrocuted...........

5 0
3 years ago
Read 2 more answers
A consolidation test was performed on a sample of fine-grained soil sample taken from a depth such that the vertical effective s
Scorpion4ik [409]

Answer:

The settlement that is expected is 1.043 meters.

Explanation:

Since the pre-consolidation stress of the layer is equal to the effective stress hence we conclude that the soil is normally consolidated soil

The settlement due to increase in the effective stress of a normally consolidated soil mass is given by the formula

\Delta H=\frac{H_oC_c}{1+e_o}log(\frac{\bar{\sigma_o}+\Delta \bar{\sigma }}{\bar{\sigma_o}})

where

'H' is the initial depth of the layer

C_c is the Compression index

e_o is the inital void ratio

\bar{\sigma_o} is the initial effective stress at the depth

\Delta \bar{\sigma_o} is the change in the effective stress at the given depth

Applying the given values we get

\Delta H=\frac{8\times 0.3}{1+0.87}log(\frac{154+28}{154})=1.04

3 0
3 years ago
What might cause a shotgun to explode?
Tanzania [10]

Answer:

When you pull the trigger to shoot a shotshell from a shotgun or a cartridge from a rifle or handgun, the firing pin strikes the primer in the base of the cartridge or shotshell. This causes the primer to explode. The spark from the primer ignites the gunpowder, which burns rapidly and converts to a gas.

Explanation:

3 0
3 years ago
Read 2 more answers
Other questions:
  • What is the steady-state value of the output of a system with transfer function G(s)= 6/(12s+3), subject to a unit-step input?
    5·1 answer
  • Plz answer all of these questions!
    15·1 answer
  • Question 54 (1 point)
    11·2 answers
  • An 80 kg man descends to the ground from an aeroplane using a parachute. If the drag coefficient of the parachute is 0.5 and the
    12·1 answer
  • Two kilograms of air within a piston–cylinder assembly executes a Carnot power cycle with maximum and minimum temperatures of 80
    5·2 answers
  • What differentiates the master builder approach prior to the Renaissance from later approaches? Projects do not depend on indivi
    14·1 answer
  • Consider a 400 mm × 400 mm window in an aircraft. For a temperature difference of 90°C from the inner to the outer surface of th
    10·1 answer
  • How do i do this? if y’all don’t mind helping lol
    13·1 answer
  • Airplanes are the only way that people can take flight.<br> A. True<br> B. False
    14·2 answers
  • Limestone scrubbing is used to remove SO2 in a flue gas desulfurization (FGD) system. Relevant reactions are given below. A lime
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!