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
Joseph wants to practice architecture. Which compulsory assessment administered by NCARB does he need to complete?
Hunter-Best [27]

Answer:

Architect Registration Examination (ARE)

Explanation:

In this scenario, Joseph wants to practice architecture. A compulsory assessment administered by National Council of Architectural Registration Boards (NCARB) which he has to complete is an Architect Registration Examination.

An Architect Registration Examination (ARE) refers to the professional licensure examination to be taken by anyone who intends to practice architecture in the United States of America, Puerto Rico, Guam, Canada, US Virgin Islands.

The main purpose of the Architect Registration Examination is to assess an architect's knowledge, skills, and abilities on architectural best practices, procedures and services. Also, it focuses on areas relating to a building's safety, soundness and health impact on the habitants. Therefore, ARE is a prerequisite for practicing architecture across the United States of America jurisdiction.

Once an architect passes the examination, he or she would be given a license to practice architecture.

<em>Hence, for Joseph to practice architecture he must take the Architect Registration Examination developed and administered by National Council of Architectural Registration Boards (NCARB). </em>

8 0
3 years ago
Define volume flow rate Q of air flowing in a duct of area A with average velocity V
Shalnov [3]

Answer:

The volume flow rate of air is Q=A\times V

Explanation:

A random duct is shown in the below attached figure

The volume flow rate is defined as the volume of fluid that passes a section in unit amount of time

Now by definition of velocity we can see that 'v' m/s means that in 1 second the flow occupies a length of 'v' meters

From the attached figure we can see that

The volume of the prism that the flow occupies in 1 second equals

Volume=Area\times V=A\times V

Hence the volume flow rate is Q=V\times A

3 0
3 years ago
Define the Problem
gtnhenbr [62]

Answer:

rbrnrifnfnrfbdjrbfbfjrn

4 0
3 years ago
A student lives in an apartment with a floor area of 60 m2 and ceiling height of 1.8 m. The apartment has a fresh (outdoor) air
USPshnik [31]

Answer:

4

Explanation:

5 0
3 years ago
A commuter train traveling at 50 mi/h is 3 mi from a station. The train then decelerates so that its speed is 15 mi/h when it is
jonny [76]

Answer:

a) t = 277.477\,s\,(4.625\min), b) v_{f} = 0\,\frac{mi}{h}, c) a = -0.128\,\frac{ft}{s^{2}}

Explanation:

a) The deceleration experimented by the commuter train in the first 2.5 miles is:

a=\frac{[(15\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,mi} )\cdot (\frac{1\,h}{3600\,s} )]^{2}-[(50\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,mi} )\cdot (\frac{1\,h}{3600\,s} )]^{2}}{2\cdot (2.5\,mi)\cdot (\frac{5280\,ft}{1\,mi} )}

a = -0.185\,\frac{ft}{s^{2}}

The time required to travel is:

t = \frac{(15\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,fi} )\cdot(\frac{1\,h}{3600\,s} )-(50\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,fi} )\cdot(\frac{1\,h}{3600\,s} )}{-0.185\,\frac{ft}{s^{2}} }

t = 277.477\,s\,(4.625\min)

b) The commuter train must stop when it reaches the station to receive passengers. Hence, speed of train must be v_{f} = 0\,\frac{mi}{h}.

c) The final constant deceleration is:

a = \frac{(0\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,mi} )\cdot(\frac{1\,h}{3600\,s} )-(15\,\frac{mi}{h} )\cdot (\frac{5280\,ft}{1\,mi} )\cdot(\frac{1\,h}{3600\,s} )}{(2.875\,min)\cdot (\frac{60\,s}{1\,min} )}

a = -0.128\,\frac{ft}{s^{2}}

7 0
3 years ago
Other questions:
  • Which term defines the amount of mechanical work an engine can do per unit of heat energy it uses?
    5·1 answer
  • What is pessimism technology
    12·1 answer
  • Consider a fully developed laminar flow in a circular pipe. The velocity at R/2 (midway between the wall surface and the centerl
    6·1 answer
  • Verify the below velocity distribution describes a fluid in a state of pure rotation. What is the angular Velocity? (a)-Vx = -1/
    7·1 answer
  • 9.21 A household oven door of 0.5-m height and 0.7-m width reaches an average surface temperature of 32℃ during operation. Estim
    8·1 answer
  • A microwave transmitter has an output of 0.1 W at 2 GHz. Assume that this transmitter is used in a microwave communication syste
    8·1 answer
  • Demonstreaza in 20 de propoziti ca snoava pacala si zarzarele boerului e o snoava
    12·1 answer
  • Phân tích phương pháp gia công plasma
    10·1 answer
  • How to solve circuit theory using mesh analysis<br>​
    11·1 answer
  • Task Three :Write a C++ program to read temperature
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!