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
Cars going straight or turning right have the right-of-way before you when you're making this type of turn
Paladinen [302]

Answer:

Yes. YES yes yes. Unless you are in Australia or something.

4 0
3 years ago
what is an example of an innovative solution to an engineering problem? Explain briefly why you chose this answer.
Leviafan [203]

Answer:

robotic technology    

Explanation:

Innovation is nothing but the use of various things such as ideas, products, people to build up a solution for the benefit of the human. It can be any product or any solution which is new and can solve people's problems.

Innovation solution makes use of technology to provide and dispatch new solutions or services which is a combination of both technology and ideas.

One such example of an innovative solution we can see is the use of "Robots" in medical science or in any military operations or rescue operation.

Sometimes it is difficult for humans to do everything or go to everywhere. Thus scientist and engineers have developed many advance robots or machines using new ideas and technology to find solutions to these problems.

Using innovations and technologies, one can find solutions to many problems which is difficult for the peoples. Robots can be used in any surveillance operation or in places of radioactive surrounding where there is a danger of humans to get exposed to such threats. They are also used in medical sciences to operate and support the patient.  

3 0
3 years ago
Analyse what effect the building of an airport may have on the decision of how to use an area of land nearby. (6)​
Sonja [21]
An effect might be a customer not wanting to buy it specifically because it’s by an airport, or maybe the customer wants to buy it because it’s right next to the airport, and a lot of people go to the airport so therefore they might go to the building next to the airport.
5 0
3 years ago
Name safety hazards that should be included in the design of a school
dem82 [27]

Answer:

Environmental

Explanation:

weather , noise, heat ect

7 0
3 years ago
Static electricity is the result of
grin007 [14]

Answer:

Explanation:

Static electricity is the result of an imbalance between negative and positive charges in an object. These charges can build up on the surface of an object until they find a way to be released or discharged.

8 0
3 years ago
Other questions:
  • The mechanical properties of a metal may be improved by incorporating fine particles of its oxide. Given that the moduli of elas
    11·1 answer
  • Technician A says amperage cannot exist without both voltage and resistance. Technician B says if amperage is high, then you kno
    6·1 answer
  • A flame ionization detector, which is often used in gas chromatography, responds to a change in
    12·1 answer
  • Which of the following refers to a full-scale version of a product used to validate performance?
    10·2 answers
  • What is the standard deviation of the following data set:
    7·1 answer
  • 30POINTS
    15·2 answers
  • Compare the temperature dependence of Nabarro-Herring and Coble creep. Which is more temperature-sensitive
    15·1 answer
  • In multi-grade oil what is W means?
    11·1 answer
  • Construct a link mechanism of crank oa 30mm rotating clockwise rod ab 100mm and bc 50mm
    13·1 answer
  • Planetary gears require the armature to be offset via a gear housing that holds the starter drive.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!