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
Since the engineering design process may take the engineer back to its beginning, the process is considered ________
Valentin [98]

Answer:

Cyclical

Explanation:

I looked at the next question on edgenuity and it said it in the question.

7 0
2 years ago
List, in ascending order, the cutoff frequencies for the first ten modes of a rectangular waveguide, normalized to the cutoff fr
Alisiya [41]

Answer:

Fcte10 < Fcte01 = Fcte0 < Fctm11 < Fcte21 = Fctm21 < Fcte12 = Fctm12 < Fcte22

Explanation:

Assuming a = 2b

Attached below is the required steps to the solution

The cutoff frequencies for the first ten modes of a rectangular waveguide listed in ascending order  is :

Fcte10 < Fcte01 = Fcte0 < Fctm11 < Fcte21 = Fctm21 < Fcte12 = Fctm12 < Fcte22

5 0
3 years ago
Partes de un transformador
BartSMP [9]
Está constituido por dos bobinas de material conductor, devanadas sobre un núcleo cerrado de material ferromagnético, pero aisladas entre sí eléctricamente. ... Las bobinas o devanados se denominan primario y secundario según correspondan a la entrada o salida del sistema en cuestión, respectivamente.
6 0
3 years ago
The bulk modulus of a fluid if it undergoes a 1% change in volume when subjected to a pressure change of 10,000 psi is (a) 0.01
Veseljchak [2.6K]

Answer:

The required bulk modulus is 10^{6} Psi. So, the answer is non of these.

Explanation:

Change in pressure of the fluid is directly proportional to the volumetric strain. The constant of proportionality is the bulk modulus of the fluid.

Step1

Given:

Percentage change in volume is 1%.

Change in pressure is 10000 Psi.

Calculation:

Step2

Volumetric strain is calculated as follows:

\frac{\bigtriangleup V}{V}=\frac{1}{100}

\frac{\bigtriangleup V}{V}=0.01

Step3

Bulk modulus is calculated as follows:

\frac{\bigtriangleup V}{V}=0.01

\frac{\bigtriangleup V}{V}=0.01

10000=K\times0.01

K = 1000000 Psi.

Thus, the required bulk modulus is 10^{6} Psi.

3 0
3 years ago
If a 10 pH inductor and a 50 pH inductor are connected in series, the total inductance of the resulting circuit is
musickatia [10]

Answer:

Option A

60 pH

Explanation:

For series connection of inductors, the total inductance is given by I_{total}=I_1+I_2+I_3+......I_n where the subcripts denote various inductors

For this case, inductance will be 10 pH+50 pH= 60 pH

6 0
3 years ago
Other questions:
  • What is a thermal reservoir?
    15·1 answer
  • Air at 293k and 1atm flow over a flat plate at 5m/s. The plate is 5m wide and 6m long. (a) Determine the boundary layer thicknes
    14·1 answer
  • Consider an infinitely thin flat plate of chord c at an angle of attack α in a supersonic flow. The pressure on the upper and lo
    10·1 answer
  • Given a matrix, clockwise-rotate elements in it. Please add code to problem3.cpp and the makefile. Use the code in p3 to test yo
    8·1 answer
  • Which of these is the BEST description of
    9·1 answer
  • I am standing on the upper deck of the football stadium. I have an egg in my hand. I am going to drop it and you are going to tr
    7·1 answer
  • Cold water at 20 degrees C and 5000 kg/hr is to be heated by hot water supplied at 80 degrees C and 10,000 kg/hr. You select fro
    14·1 answer
  • The use of zeroes after a decimal point are an indicator of accuracy. a)True b)- False
    7·1 answer
  • HELPP!!! Calculating voltage drop
    11·1 answer
  • Click this link to view O*NET’s Work Context section for Loading Machine Operators. Note that common contexts are listed toward
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!