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
Please help with my economics problem
morpeh [17]

Answer:

You first get a new job, and make a new company and then by amazon to traumatize Jeff Bezos after his divorce

Explanation:

5 0
3 years ago
Select the right answer<br>​
Kruka [31]

Answer:

for 1st question the answer is 5th option.

for 2nd question the answer is 2nd option

hope it helps you mate

please mark me as brainliast

5 0
3 years ago
What is the following passage saying about the relationship between sustainability and responsibility?
7nadin3 [17]

What the given passage is saying about the relationship between sustainability and responsibility is that;

C: We should only consider products or services to be green if their broad impact can be considered so.

<h3>Sustainability</h3>

From the passage, we see a write up questioning if the things we term to be green are truly green.

Now, from the passage, we see that a biofuel that is considered to be green is not really green if we consider that if it requires massive overproduction, it could wreck the water table.

Also, he says that if the production is local but also wasteful then it is not green.

Thus, we can see clearly that before we term a product or service as green, we should also consider their broad impact on the environment.

Read more about sustainability at; brainly.com/question/14154063

7 0
2 years ago
A vertical cylinder (Fig. P3.227) has a 61.18-kg piston locked with a pin, trapping 10 L of R-410a at 10◦C with 90% quality insi
Whitepunk [10]

Hey! How are you? My name is Maria, 19 years old. Yesterday broke up with a guy, looking for casual sex.

Write me here and I will give you my phone number - *pofsex.com*

My nickname - Lovely

4 0
3 years ago
Which is not required when working in a manufacturing facility?
Artyom0805 [142]
Flip flops are not required
5 0
3 years ago
Other questions:
  • Technician A says that you don’t need to use an exhaust extraction system when working on vehicles equipped with a catalytic con
    9·1 answer
  • Where the velocity is highest in the radial direction? Why?
    9·1 answer
  • Assume that price is an integer variable whose value is the price (in US currency) in cents of an item. Assuming the item is pai
    11·1 answer
  • Two hemispherical shells of inner diameter 1m are joined together with 12 equally spaced bolts. If the interior pressure is rais
    15·1 answer
  • A model of a submarine, 1:15 scale, is to be tested at 180 ft/s in a wind tunnel with standard sea-level air, while theprototype
    8·1 answer
  • How to solve this question
    11·1 answer
  • Suppose you are asked to design an office building. Explain what type of drawing you would use and why.
    8·2 answers
  • What is the purpose of the graphic language?
    15·1 answer
  • Evaluate, please show work as I don't understand. thanks
    5·1 answer
  • A plant has ten machines and currently operates two 8-hr shift per day, 5 days per week, 50 weeks per year. the ten machines pro
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!