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
How did the universe begin
stepan [7]

Answer:

big bang

Explanation:

the universe began from big bang

5 0
3 years ago
Precast double-tee units are generally used as structural floors when:________.
TiliK225 [7]

Answer:

<em>d. floor spans exceed that which is economical with site-cast or hollow-core slabs and exceed 60 feet.</em>

<em></em>

Explanation:

<em> Double tee slabs are prestressed concrete castings usually about 100 m to 150 m long</em>. <em>They are usually used in the construction industry in structures requiring a long floor span (or roof span) exceeding 60 feet in length, that is required to bear additional load (additional load carrying capability</em>). Double tee slabs are usually employed in construction because they shorten construction time. reduce congestion at the construction site, and also reduce construction cost.

<em>They are the required choice in construction when the cost of site casting or hollow-core slabs is no longer economical due to the length of the structure exceeding 60 feet.</em>

8 0
3 years ago
The constant A in Equation 17.2 is 12π4 R/5(θD) 3 where R is the gas constant and θD is the Debye temperature (K). Estimate θD f
kirill115 [55]

Answer:

The Debye temperature for aluminum is 375.2361 K

Explanation:

Molecular weight of aluminum=26.98 g/mol

T=15 K

The mathematical equation for the specific heat and the absolute temperature is:

C_{v} =AT^{3}

Substituting in the expression of the question:

C_{v} =(\frac{12\pi ^{4}R }{5\theta _{D}^{3}  } )T^{3}

\theta _{D} =(\frac{12\pi ^{4}RT^{3}  }{5C_{v}   } ) ^{1/3}

Here

C_{v} =4.6\frac{J}{kg-K} *\frac{1kg}{1000g} *\frac{26.98g}{1mol} =0.1241J/mol-K

Replacing:

\theta _{D}  =(\frac{12\pi ^{4}*8.31*15^{3}  }{5*0.1241} )^{1/3} =375.2361K

3 0
3 years ago
What is the governing ratio for thin walled cylinders?
Ann [662]

Answer:

The governing ratio for thin walled cylinders is 10 if you use the radius. So if you divide the cylinder´s radius by its thickness and your result is more than 10, then you can use the thin walled cylinder stress formulas, in other words:

  • if \frac{radius}{thickness} >10 then you have a thin walled cylinder

or using the diameter:

  • if \frac{diameter}{thickness} >20 then you have a thin walled cylinder
3 0
3 years ago
As a construction manager, Alex found a major issue with the client's design demands. He found out that the building design was
kipiarov [429]

Answer:

Which human resource skill helped Alex convince the client? its nagotiation

Explanation:

got it right on the test.

6 0
3 years ago
Other questions:
  • Choose two consumer services careers and research online to determine what kinds of professional organizations exist for these p
    11·1 answer
  • Zona intermedia de pozos <br> Y<br> Efecto de inavasion
    6·1 answer
  • Magnesium sulfate has a number of uses, some of which are related to the ability of the anhydrate form to remove water from air
    15·1 answer
  • Assuming the point estimate in Problem 6.36 is the true population parameter, what is the probability that a particular assay, w
    15·1 answer
  • What is the flat shape
    13·1 answer
  • A piston–cylinder assembly contains air, initially at 2 bar, 300 K, and a volume of 2 m3. The air undergoes a process to a state
    12·1 answer
  • What is the weakest link in the security of an IT infrastructure? What are some of the strategies for reducing the risks?
    11·1 answer
  • How does the turbo on a car work?
    5·2 answers
  • If a front gear had 24 teeth, and a rear gear has 12 teeth:
    11·1 answer
  • What are some advantages of making electronic components like transistors increasingly smaller? (40 POINTS) Pls help
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!