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
Reil [10]
3 years ago
15

Assume a program requires the execution of 50 x 106 FP instructions, 110 x 106 INT instructions, 80 x 106 L/S instructions, and

16 x 106 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. 1. By how much must we improve the CPI of FP instructions if we want the program to run two times faster? 2. By how much must we improve the CPI of L/S instructions if we want the program to run two times faster? 3. By how much is the execution time of the program improved if the CPI of INT and FP instructions is reduced by 40% and the CPI of L/S and Branch is reduced by 30%?
Engineering
1 answer:
Pavlova-9 [17]3 years ago
8 0

Answer:

Part A:

1.3568*10^{-5}=\frac{5300* New\  CPI_1+11660*1+8480*4+1696*2}{2*10^9\ Hz} \\ New\ CPI_1=-4.12

CPI cannot be negative so it is not possible to for program to run two times faster.

Part B:

1.3568*10^{-5}=\frac{5300*1+11660*1+8480*New\ CPI_3+1696*2}{2*10^9\ Hz} \\ New\ CPI_3=0.8

CPI reduced by 1-\frac{0.8}{4} = 0.80=80%

Part C:

New Execution Time=\frac{5300*0.6+11660*0.6+8480*2.8+1696*1.4}{2*10^9\ Hz}=1.81472*10^{-5}\ s

Increase in speed=1-\frac{1.81472*10^{-5}}{2.7136*10^{-5}} =0.33125= 33.125\%

Explanation:

FP Instructions=50*106=5300

INT  Instructions=110*106=11660

L/S  Instructions=80*106=8480

Branch  Instructions=16*106=1696

Calculating Execution Time:

Execution Time=\frac{\sum^4_{i=1} Number\ of\ Instruction*\ CPI_{i}}{Clock\ Rate}

Execution Time=\frac{5300*1+11660*1+8480*4+1696*2}{2*10^9\ Hz}

Execution Time=2.7136*10^{-5}\ s

Part A:

For Program to run two times faster,Execution Time (Calculated above) is reduced to half.

New Execution Time=\frac{2.7136*10^{-5}}{2}=1.3568*10^{-5}\ s

1.3568*10^{-5}=\frac{5300* New\  CPI_1+11660*1+8480*4+1696*2}{2*10^9\ Hz} \\ New\ CPI_1=-4.12

CPI cannot be negative so it is not possible to for program to run two times faster.

Part B:

For Program to run two times faster,Execution Time (Calculated above) is reduced to half.

New Execution Time=\frac{2.7136*10^{-5}}{2}=1.3568*10^{-5}\ s

1.3568*10^{-5}=\frac{5300*1+11660*1+8480*New\ CPI_3+1696*2}{2*10^9\ Hz} \\ New\ CPI_3=0.8

CPI reduced by 1-\frac{0.8}{4} = 0.80=80%

Part C:

New\ CPI_1=0.6*Old\ CPI_1=0.6*1=0.6\\New\ CPI_2=0.6*Old\ CPI_2=0.6*1=0.6\\New\ CPI_3=0.7*Old\ CPI_3=0.7*4=2.8\\New\ CPI_4=0.7*Old\ CPI_4=0.7*2=1.4

New Execution Time=\frac{\sum^4_{i=1} Number\ of\ Instruction*\ CPI_{i}}{Clock\ Rate}

New Execution Time=\frac{5300*0.6+11660*0.6+8480*2.8+1696*1.4}{2*10^9\ Hz}=1.81472*10^{-5}\ s

Increase in speed=1-\frac{1.81472*10^{-5}}{2.7136*10^{-5}} =0.33125= 33.125\%

You might be interested in
The best grade of hardwood lumber that is generally available is _____​
Vesnalui [34]

Answer:

FAS

Explanation:

first and second grade

5 0
2 years ago
Select the correct answer.
boyakko [2]
I think the answer is b
6 0
3 years ago
Read 2 more answers
A plane wall of thickness 0.1 m and thermal conductivity 25 W/m·K having uniform volumetric heat generation of 0.3 MW/m3 is insu
Contact [7]

Answer:

T = 167 ° C

Explanation:

To solve the question we have the following known variables

Type of surface = plane wall ,

Thermal conductivity k = 25.0 W/m·K,  

Thickness L = 0.1 m,

Heat generation rate q' = 0.300 MW/m³,

Heat transfer coefficient hc = 400 W/m² ·K,

Ambient temperature T∞ = 32.0 °C

We are to determine the maximum temperature in the wall

Assumptions for the calculation are as follows

  • Negligible heat loss through the insulation
  • Steady state system
  • One dimensional conduction across the wall

Therefore by the one dimensional conduction equation we have

k\frac{d^{2}T }{dx^{2} } +q'_{G} = \rho c\frac{dT}{dt}

During steady state

\frac{dT}{dt} = 0 which gives k\frac{d^{2}T }{dx^{2} } +q'_{G} = 0

From which we have \frac{d^{2}T }{dx^{2} }  = -\frac{q'_{G}}{k}

Considering the boundary condition at x =0 where there is no heat loss

 \frac{dT}{dt} = 0 also at the other end of the plane wall we have

-k\frac{dT }{dx } = hc (T - T∞) at point x = L

Integrating the equation we have

\frac{dT }{dx }  = \frac{q'_{G}}{k} x+ C_{1} from which C₁ is evaluated from the first boundary condition thus

0 = \frac{q'_{G}}{k} (0)+ C_{1}  from which C₁ = 0

From the second integration we have

T  = -\frac{q'_{G}}{2k} x^{2} + C_{2}

From which we can solve for C₂ by substituting the T and the first derivative into the second boundary condition s follows

-k\frac{q'_{G}L}{k} = h_{c}( -\frac{q'_{G}L^{2} }{k}  + C_{2}-T∞) → C₂ = q'_{G}L(\frac{1}{h_{c} }+ \frac{L}{2k} } )+T∞

T(x) = \frac{q'_{G}}{2k} x^{2} + q'_{G}L(\frac{1}{h_{c} }+ \frac{L}{2k} } )+T∞ and T(x) = T∞ + \frac{q'_{G}}{2k} (L^{2}+(\frac{2kL}{h_{c} }} )-x^{2} )

∴ Tmax → when x = 0 = T∞ + \frac{q'_{G}}{2k} (L^{2}+(\frac{2kL}{h_{c} }} ))

Substituting the values we get

T = 167 ° C

4 0
3 years ago
NO LINK plsssss just answer
solmaris [256]

Answer:

Explanation:

4 0
2 years ago
An example of Ferrous alloy is Brass a)-True b)-False
djyliett [7]

Answer: False

Explanation: No, brass is not a ferrous alloy.  

      Ferrous alloys are those alloy which contain iron like cast iron, steel, strain-less steel, high carbon steel. Brass on the other hand does not contain any composition. of iron hence it can not be considered as a ferrous alloy. Brass comes under the category of non- ferrous made with a composition of copper and zinc, however their proportion is not strict and we can add other elements like aluminium or lead to alter its durability or corrosiveness.  

5 0
3 years ago
Other questions:
  • PLEASE ANSWER FOR DRIVERS ED! WILL GIVE BRAINLIEST
    10·1 answer
  • A car is about to start but it blows up. what is the problem with the car<br> ?
    6·2 answers
  • A 4-stroke Diesel engine with a displacement of Vd = 2.5x10^-3m^3 produces a mean effective pressure of 6.4 bar at the speed of
    8·1 answer
  • A lighthouse built at sea level is 170ft high from its top , the angle of depression of a buoy is 29 degrees . Find the distance
    10·1 answer
  • If they opened up the International Space Station to tourism, would you go? Why? answer in 2 sentences
    13·2 answers
  • State 3 advantages and 3 disadvantages of unit rate contract​
    10·1 answer
  • Applications of fleming hand rule
    6·1 answer
  • A college student volunteers with the elderly in a hospice program and discovers her clients complain of dry skin. She has an id
    13·2 answers
  • Why is psychology considered a science
    9·2 answers
  • How many shift pulses would be required to serially shift the contents of one five-stage register to another five-stage register
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!