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
Evaluate each of the following to three significant figures and express each answer in SI units using an appropriate prefix: (a)
Sonbull [250]

Answer:

Explanation:

(a)

\frac{354 mg \, 45 km}{0.0356 kN} = 354 mg \times \frac{1 kg}{10^6 mg} \times 45 km \times \frac{10^3m}{1 km} \times \frac{1}{0.0356 kN} \times \frac{1 kN}{10^3 N} = 0.447 \frac{kg \, m}{N}

(b)

0.00453 Mg \times 201 ms = 0.00453 Mg \times \frac{10^3 kg}{1 Mg} \times 201 ms \times \frac{1 s}{10^3 ms} = 0.911 kg \, s

(c)

\frac{435 MN}{23.2 mm} = 435 MN \times \frac{10^6 N}{1 MN} \times \frac{1}{23.2 mm}  \times \frac{10^3 mm}{1 m} = 18.75 \times 10^9 \frac{N}{m} = 18.75 \frac{GN}{m}

7 0
4 years ago
Which of the following describes beta testing?
Sergio039 [100]

Answer:

What is Beta Testing? Beta testing is an opportunity for real users to use a product in a production environment to uncover any bugs or issues before a general release. Beta testing is the final round of testing before releasing a product to a wide audience.

3 0
3 years ago
Technician A states that if someone is asking a question of you, then he or she is showing interest. Technician B states that si
eimsori [14]

Answer:

They are both correct

Explanation:

When someone is asking a question of you, it means he or she has either been paying attention, and is interested in you, what you're doing, or what you're saying. Also, silence when used properly can be golden in the sense that it can prevent unnecessary problems from arising, and can save one from a lot of unforeseen problem. Whatever is said cannot be taken back again, and some things should never be said at all, especially in a professional setting.

8 0
4 years ago
An engine operates on gasoline (LHV=44 MJ/kg) with a brake thermal efficiency of 37.9 % What is the brake specific fuel consumpt
scZoUnD [109]

Answer:

s =0.21\ kg/Kw.hr

Explanation:

Given that

Calorific value (CV) = 44 MJ/Kg

CV= 44,000 KJ/kg

Brake thermal efficiency(η) = 37.9 %

We know that

\eta =\dfrac{BP}{\dot{m_f}\times CV}

Where BP is the brake power

\eta =\dfrac{BP}{\dot{m_f}\times CV}

0.379 =\dfrac{BP}{\dot{m_f}\times 44000}

\dfrac{BP}{\dot{m_f}}=16676

Brake specific fuel consumption (s)

s =\dfrac{\dot{m_f}}{BP}

s =\dfrac{3600\times \dot{m_f}}{BP}

s =\dfrac{3600}{16,676}\ kg/Kw.hr

s =0.21\ kg/Kw.hr

7 0
3 years ago
Aerospace engineers who work for certain government agencies are often required to have security clearance. Explain two reasons
yuradex [85]

Answer:

Two reasons that justify the requirement for security clearance for aerospace engineers working for government agencies are;

1) Such engineers have access to data regarding the blueprint, components, method of construction, functionality status, new systems design, future systems design, inventory of systems and aeronautical systems database which are sensitive information that are of high importance to the federal government

2) Such engineers take part in the testing of aeronautic equipment, and will require security clearance to be able to input data results into the data base of the aeronautic equipment

Explanation:

3 0
3 years ago
Other questions:
  • Two soils are fully saturated with liquid (no gas present) and the soils have the same void ratio. One soil is saturated with wa
    9·1 answer
  • Saturated water with a quality of 0.55 and a temperature of 120 oC enters an uninsulated diffuser at a velocity of 180 m/s. The
    9·1 answer
  • A resistor R = 1 kohm an inductor L = 1 mH and a capacitor C = 1 muFare used in a circuit which is driven by a voltage source v_
    9·1 answer
  • Steam is contained in a closed rigid container which has a volume of 2 initially the the pressure and the temperature is the rem
    5·1 answer
  • Consider steady heat transfer through the wall of a room in winter. The convection heat transfer coefficient at the outer surfac
    9·1 answer
  • An equal-tangent vertical curve is to be constructed between grades of -2% (initial) and 1% (final). The PVI is at station 110 0
    9·1 answer
  • Sea water with a density of 1025 kg/m3 flows steadily through a pump at 0.21 m3 /s. The pump inlet is 0.25 m in diameter. At the
    8·1 answer
  • Most of the world’s mixed economies are a combination of a __________ economy and a __________ economy.
    9·2 answers
  • Explain why you chose the final design of your prototype and how it solved the identified need
    9·1 answer
  • What is the approximate average power output of a well-designed modern turbine in Des Moines, Iowa with a 10 m2 swept area and 5
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!