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
A pin fin of uniform cross-sectional area is fabricated of an aluminum alloy (k = 160W m-1 K-1 ). The fin diameter is D = 4 mm,
disa [49]

Answer: (a) 36.18mm

(b) 23.52

Explanation: see attachment

4 0
3 years ago
Why does an object under forced convection reach a steady-state faster than an object subjected to free-convection?
bonufazy [111]

Answer:

Free convection:

   When heat transfer occurs due to density difference between fluid then this type of heat transfer is know as free convection.The velocity of fluid is zero or we can say that fluid is not moving.

Force convection:

   When heat transfer occurs due to some external force then this type of heat transfer is know as force convection.The velocity of fluid is not zero or we can say that fluid is moving in force convection.

Heat transfer coefficient of force convection is high as compare to the natural convection.That is why heat force convection reach a steady-state faster than an object subjected to free-convection.

We know that convective heat transfer given as

 q = h  A ΔT

h=Heat transfer coefficient

A= Surface area

ΔT = Temperature difference

5 0
3 years ago
A 1.00 liter solution contains 0.46 M hydrocyanic acid and 0.35 M potassium cyanide If 25.0 mL of water are added to this system
victus00 [196]
I won leader solution contain 0.46 mL of hydronic I said of 0.3 potassium
4 0
2 years ago
A 600 MW power plant has an efficiency of 36 percent with 15
ololo11 [35]

Answer:

401.3 kg/s

Explanation:

The power plant has an efficiency of 36%. This means 64% of the heat form the source (q1) will become waste heat. Of the waste heat, 85% will be taken away by water (qw).

qw = 0.85 * q2

q2 = 0.64 * q1

p = 0.36 * q1

q1 = p /0.36

q2 = 0.64/0.36 * p

qw = 0.85 *0.64/0.36 * p

qw = 0.85 *0.64/0.36 * 600 = 907 MW

In evaporation water becomes vapor absorbing heat without going to the boiling point (similar to how sweating takes heat from the human body)

The latent heat for the vaporization of water is:

SLH = 2.26 MJ/kg

So, to dissipate 907 MW

G = qw * SLH = 907 / 2.26 = 401.3 kg/s

8 0
3 years ago
Read 2 more answers
Eight energy corporations made plans to increase their combined spending on efficiency programs to $50 million per year for the
tangare [24]

Answer:

F=531831381

Explanation:

There are two  ways of doing this question:

1) By Formula

2) By Using  Compound interest Table

By Formula:

F=A*\frac{(1+i)^{n}-1}{i}

Where:

F is future value

A is annual amount per year

i is interest rate

n is number of years

F=50 million*\frac{(1+0.08)^{8}-1}{0.08}

F=531831381

By Using  Compound interest Table:

F=A(F/A,i,n)

From Table F/A at i=8% and n=8 is 10.6366

F=50000000*(10.6366)

F=531830000≅531831381

The difference in two answers is due to decimal points if you take value from table to greater decimal points you will get the exact answer as by using formula.

7 0
3 years ago
Other questions:
  • 11. Ten bagels is what percentage of a dozen bagels?
    10·1 answer
  • Are front-end engineers starting to decline in China?
    14·1 answer
  • Calculate the load, PP, that would cause AA to be displaced 0.01 inches to the right. The wires ABAB and ACAC are A36 steel and
    10·1 answer
  • What are the mechanical properties of a geotextile that are of most importance when using it as a separator in an unpaved road s
    12·1 answer
  • URGENT PLEASE HELP!!!
    11·1 answer
  • PLEASE HELP!<br> I'm in the middle of a test and the teacher didn't go over the material!
    10·1 answer
  • Can someone please help me this is urgent!?
    12·2 answers
  • Think of an employee object. What are several of the possible states that the object may have over time?
    6·1 answer
  • 1: asha started abusness with 30.000
    8·1 answer
  • What is resonance as in ultrasound waves formation using magnetostriction method​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!