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
mash [69]
3 years ago
11

Assume a program requires the execution of 50 x 10^6 FP instructions, 110 x 10^6 INT instructions, 80 x 10^6 Load/Store (L/S) in

structions and 16 x 10^6 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.By how much must we improve the CPI of FP instructions if we want the program to run two times faster?
Engineering
1 answer:
Svetradugi [14.3K]3 years ago
3 0

Answer:

We can not improve CPI of FP instructions when we run the program two times faster because it would be negative.

Explanation:

Processor clock rate = 2 GHz

Execution Time =   ∑  (\frac{Clock cyles}{Clock rate})

Clock cycles can be determined using following formula

Clock cycles = (CPI_{FP} x  No. FP instructions )+ ( CPI_{INT} x No. INT instructions) + ( CPI_{L/S}  x No. L/S instructions ) + ( CPI_{branch} x No. branch instructions)

Clock cycles = ( 50 x 10^{6} x 1) + (  110 x 10^{6} x 1) + ( 80 x 10^{6} x 4) + ( 16 x 10^{6} x 2)

Clock cycles = 512 x 10⁶

So,Initial Execution time for FP instructions is,

    = \frac{512(10^{6}) }{2(10^{9}) }

 Initial execution Time =  256 x 10⁻³

For 16 processors ,

clock cycle = 512 x 10⁶

Execution Time = 256 x 10⁻³

To run the program two times faster, half the number of clock cycles

(\frac{Clockcycles}{2} )=   (CPI_{FP} x  No. FP instructions )+ ( CPI_{INT} x No. INT instructions) + ( CPI_{L/S}  x No. L/S instructions ) + ( CPI_{branch} x No. branch instructions)

CPI_{FP improved} x No. FP instructions  =  (\frac{Clockcycles}{2} ) -[ ( CPI_{INT} x No. INT instructions) + ( CPI_{L/S}  x No. L/S instructions ) + ( CPI_{branch} x No. branch instructions)]

CPI_{FP improved} x 50 x 10^{6}  = ( \frac{512(10)^{6} }{2} ) - [ (  110 x 10^{6} x 1) + ( 80 x 10^{6} x 4) + ( 16 x 10^{6} x 2)]

CPI_{FP improved} x 50 x 10^{6}  =  - 206 x 10^{6}

CPI_{FP improved}  = - 206 x 10^{6} / 50 x 10^{6}

CPI_{FP improved} = - 4.12 < 0

You might be interested in
The following laboratory test results for Atterberg limits and sieve-analysis were obtained for an inorganic soil. [6 points] Si
alexira [117]

Answer: hello the complete question is attached below

answer:

A) Group symbol = SW

B) Group name = well graded sand , fine to coarse sand

C) It is not a clean sand given that ≤ 50% particles are retained on No 200

Explanation:

<u>A) Classifying the soil according to USCS system</u>

 ( using 2nd image attached below )

<em>description of sand</em> :

The soil is a coarse sand since  ≤ 50% particles are retained on No 200 sieve, also

The soil is a sand given that more than 50% particles passed from No 4 sieve

The soil can be a clean sand given that fines ≤ 12%

The soil can be said to be a well graded sand because the percentage of particles passing through decreases gradually over time

Group symbol as per the 2nd image attached below = SW

B) Group name = well graded sand , fine to coarse sand

C) It is not a clean sand given that ≤ 50% particles are retained on No 200

5 0
3 years ago
You are working as an electrical technician. One day, out in the field, you need an inductor but cannot find one. Looking in you
telo118 [61]

Answer:

a) the inductance of the coil is 6 mH

b) the emf generated in the coil is 18 mV  

Explanation:

Given the data in the question;

N = 570 turns

diameter of tube d = 8.10 cm = 0.081 m

length of the wire-wrapped portion l =  35.0 cm = 0.35 m

a) the inductance of the coil (in mH)

inductance of solenoid

L = N²μA / l

A = πd²/4  

so

L = N²μ(πd²/4) / l

L = N²μ(πd²) / 4l

we know that μ = 4π × 10⁻⁷ TmA⁻¹

we substitute

L = [(570)² × 4π × 10⁻⁷× ( π × (0.081)² )] / 4(0.35)

L =  0.00841549 / 1.4

L = 6 × 10⁻³ H    

L = 6 × 10⁻³ × 1000 mH

L = 6 mH

Therefore, the inductance of the coil is 6 mH

b)

Emf ( ∈ ) = L di/dt

given that; di/dt = 3.00 A/sec

{∴ di = 3 - 0 = 3 and dt = 1 sec}

Emf ( ∈ ) = L di/dt

we substitute

⇒ 6 × 10⁻³ ( 3/1 )

= 18 × 10⁻³ V

= 18 × 10⁻³ × 1000

= 18 mV  

Therefore, the emf generated in the coil is 18 mV  

7 0
2 years ago
Construction support involves mostly what kind of work?
Paraphin [41]

Answer:

Outdoors

Explanation:

Construction workers perform outdoors.

6 0
2 years ago
Read two numbers from user input. Then, print the sum of those numbers. Hint -- Copy/paste the following code, then just type co
Softa [21]

Answer:

I am Providing Answer in C Language Program.

Explanation:

Please find attachment regarding code of taking two numbers input and adding them.

I would like to recommend you please use software which supports C language.

#include <stdio.h>

int main () {

int a, b, sum;

printf ("\ nEnter two no:");

scanf ("% d% d", & d, & e);

sum1 = d + e;

printf ("Sum:% d", sum1);

return (0);

}

4 0
3 years ago
(True/False) Unix is written in the C language. *<br> True<br> O False
Katarina [22]

Answer:

false

Explanation:

8 0
2 years ago
Read 2 more answers
Other questions:
  • Which solution causes cells to shrink
    13·1 answer
  • Technician A says that a magnetic field can be created by current flow. Technician B says that current can be induced by moving
    5·1 answer
  • Consider a process in which a carbon-based fuel is combusted in the presence of 70% excess oxygen (assume that all of the oxygen
    10·1 answer
  • To increase fault-tolerance, the security administrator for Corp has installed an active/passive firewall cluster where the seco
    11·1 answer
  • The cross-section of a rough, rectangular, concrete() channel measures . The channel slope is 0.02ft/ft. Using the Darcy-Weisbac
    8·1 answer
  • We need to design a logic circuit for interchanging two logic signals. The system has three inputs I1I1, I2I2, and SS as well as
    11·1 answer
  • A long bone is subjected to a torsion test. Assume that the inner diameter is 0.375 in. and the outer diameter is 1.25 in., both
    14·1 answer
  • What's the best way to find the load capacity of a crane? Select the best option. Call the manufacturer Ask co-workers Look at t
    8·1 answer
  • A misfire code is a type ____ DTC<br> A) 1 or 2<br> B) a or b<br> C) c or d<br> D l or ll
    15·1 answer
  • Find the total present worth of a series of cash flows with an annual interest rate of 2% per year. Round your answer to the nea
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!