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
11) (10 points) A large valve is to be used to control water supply in large conduits. Model tests are to be done to determine h
IrinaVladis [17]

Answer:

7.94 ft^3/ s.

Explanation:

So, we are given that the '''model will be 1/6 scale (the modeled valve will be 1/6 the size of the prototype valve)'' and the prototype flow rate is to be 700 ft3 /s. Then, we are asked to look for or calculate or determine the value for the model flow rate.

Note that we are to use Reynolds scaling for the velocity as par the instruction from the question above.

Therefore; kp/ks = 1/6.

Hs= 700 ft3 /s and the formula for the Reynolds scaling => Hp/Hs = (kp/ks)^2.5.

Reynolds scaling==> Hp/ 700 = (1/6)^2.5.

= 7.94 ft^3/ s

7 0
3 years ago
The waffle slab is: a) the two-way concrete joist framing system. b) a one-way floor and roof framing system. c) the one-way con
GREYUIT [131]

Answer:

a) the two-way concrete joist framing system

Explanation:

A waffle slab is also known as ribbed slab, it is a slab which as waffle like appearance with holes beneath. It is adopted in construction projects that has long length, length more than 12m. The waffle slab is rigid, therefore it is used in building that needs minimal vibration.

4 0
3 years ago
An inventor claims to have invented a heat engine that operates between the temperatures of 627°C and 27°C with a thermal effici
Oksana_A [137]

Answer Explanation:

the efficiency of the the engine is given by=1-\frac{T_2}{T_1}

where T₂= lower temperature

           T₁= Higher temperature

we have given efficiency =70%

lower temperature T₂=27°C=273+27=300K

higher temperature T₁=627°C=273+627=900K

efficiency=1-\frac{T_2}{T_1}

                =1-\frac{300}{900}

                 =1-0.3333

                 =0.6666

                 =66%

66% is less than 70% so so inventor claim is wrong

3 0
3 years ago
It is appropriate to use the following yield or failure criterion for ductile materials (a) Maximum shear stress or Tresca crite
Nataly [62]

Answer:

(b)Distortion energy theory.

Explanation:

The best suitable theory for ductile material:

       (1)Maximum shear stress theory (Guest and Tresca theory)

It theory state that applied maximum shear stress should be less or equal to its maximum shear strength.

      (2)Maximum distortion energy theory(Von Mises henkey's        theory)

It states that maximum shear train energy per unit volume at any point  is equal to strain energy per unit volume under the state of uni axial stress condition.

But from these two Best theories ,suitable theory is distortion energy theory ,because it gives best suitable result for ductile material.

6 0
2 years ago
Who is/are the founder/founders of transistor? ​
den301095 [7]

Answer:

William Shockley, Walter Houser Brattain and John Bardeen.

Explanation:

It was built in 1947 and they won the novel peace prize in 1956

7 0
3 years ago
Read 2 more answers
Other questions:
  • Design a PLC ladder logic program to control the operation of a conveyor-storage system using the following sequence: - 1. Progr
    5·1 answer
  • Are you able to text without looking at your phone?
    10·1 answer
  • A three-phase transformer bank consists of 3 single-phase transformers to handle 400 kVA witha 34.5kV/13.8kV voltage ratio. Find
    7·1 answer
  • Why is oil black and why does oil look black
    10·1 answer
  • On a cold winter day, wind at 55 km/hr is blowing parallel to a 4-m high and 10-m long wall of a house. If the air outside is at
    8·1 answer
  • Uber drivers are considered 'independent contractors' and thus can apply for business licenses.
    11·2 answers
  • You are a planning aide on a team and are given the assignment of researching the historical significance and original blueprint
    5·1 answer
  • To provide some perspective on the dimensions of atomic defects, consider a metal specimen that has a dislocation density of 105
    6·1 answer
  • A fine-grained soil has a liquid limit of 200%, determined from the Casagrande cup method. The plastic limit was measured by rol
    15·1 answer
  • What is the hardest part of engineering?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!