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
lesya [120]
3 years ago
12

In this problem, we will explore how deepening the pipeline affects performance in two ways: faster clock cycle and increased st

alls due to data and control hazards. Assume that the original machine is a 5-stage pipeline with a 1 ns clock cycle. The second machine is a 12-stage pipeline with a 0.6 ns clock cycle. The 5-stage pipeline experiences a stall due to a data hazard every five instructions, whereas the 12-stage pipeline experiences three stalls every eight instructions. In addition, branches constitute 20% of the instructions, and the misprediction rate for both machines is 5%.
a. What is the speedup of the 12-stage pipeline over the 5-stage pipeline, taking into account only data hazards?

b. If the branch mispredict penalty for the first machine is 2 cycles but the second machine is 5 cycles, what are the CPIs of each, taking into account the stalls due to branch mispredictions?
Engineering
1 answer:
Nataliya [291]3 years ago
3 0

Answer:

a) the speed up is 1.45

b) the speed up is 1.42

Explanation:

Given

5 stage pipeline = 1 ns clock cycle

12 stage pipeline = 0.6 ns clock cycle

a) The speed up is

speed-upx_{pipeline} =\frac{CPI_{unpipelined} }{CPI_{pipelined} } (\frac{cycle-time_{unpipelined} }{cycle-time_{pipelined} } ) (eq. 1)

The CPIpipelined is

CPI_{pipelined} =CPI_{ideal} +average-stall-cycle/instructions (eq. 2)

The execution time is

execution-time=instruction*CPI_{pipelined} *cycle-time_{unpipelined} (eq. 3)

The CPI for 5-stage pipeline is

CPI = 6/5

cycle time = 1 s

The CPI for 12-stage pipeline is

CPI = 11/8

cycle time = 0.6 s

Replacing values in equation 1

speed-up_{pipeline} =\frac{I*\frac{6}{5}*1 }{I*\frac{11}{8}*0.6 } =\frac{1.2}{1.375*0.6} =1.45

b) The equation for CPI instruction in 5-stage is

CPI_{5} =CPI_{time} +instructions-of-5-stage*cycletime*number-of-cycles=\frac{6}{5} +(\frac{20}{100} )*0.05*2=1.22

For CPI instruction in 12-stage is

CPI_{12} =\frac{11}{8} +(\frac{20}{100} )*0.05*5=1.43

The speed up is using the equation 1

speed-up=\frac{1*1.22*1}{1*1.43*0.6} =1.42

You might be interested in
1. (16 points) True or False, one point each, Write down F (false) or T (true). ___ (01) In a mechanical design, it is recommend
nikitadnepr [17]

Answer:

True

Explanation:

I looked it up

3 0
4 years ago
Name the manufacturing process that the worker is using to create the workpiece. The manufacturing process carried out by the bl
krok68 [10]

Answer:

Metamorphic manufacturing

Explanation:

I don't know what form of an answer you wanted but I hope this helps :)

7 0
3 years ago
A HSS152.4 × 101.6 × 6.4 structural steel [E = 200 GPa] section (see Appendix B for crosssectional properties) is used as a colu
Temka [501]

Answer:

(a) 126.66 kN (b) 31.665 kN (c) 258.49 kN (d) 506.64 kN

Explanation:

Solution

Given

A HSS152.4 × 101.6 × 6.4 structural steel is used as a column

Actual length of the column , L= 6 m

The elasticity modules, E = 200 GPa

The factor of safety with respect to failing buckling . F.S =2

Geometric properties  of structural steel shapes for, A HSS152.4 × 101.6 × 6.4

the moment of inertial about y axis Iy =4 .62 * 10^ 6 mm ^4

For

(a)  If the end condition is pinned - pinned

The effective  length factor, K =1

The critical buckling load , Pcr = π²EI/(KL)²

Pcr = π² * 200 * 10 ^3 * 4.62 * 10 ^6/( 1* 6* 10 ^3)

= 253319.85N

= 253.32N

The maximum safe load , Pallow = 253.32 /2 = 126.66kN

hence, the maximum safe for the column is 126.66kN

(b)If the end condition is  fixed free-free

the effective length factor, K= 2

The critical buckling load , Pcr = π²EI/(KL)²

Pcr = π² * 200 * 10 ^3 * 4.62 * 10 ^6/( 2 * 6 * 10 ^3)²

= 63329.96N

=63.33kN

The maximum safe load,  P allow = Pcr/F.S

P allow = 63.33/2

31.665 kN

Therefore the maximum safe for the column is 31.665 kN

(c) If the end condition is fixed- pinned

The effective  length factor K =0.7

The critical buckling load , Pcr = π²EI/(KL)²

Pcr = π² * 200 * 10 ^3 * 4.62 * 10 ^6/( 0.7 * 6 * 10 ^3)²

=516979.2 8N

=516.98 kN

The maximum safe load,  P allow = Pcr/F.S

P allow = 516.98 kN/2

=258.49 kN

Therefore the maximum safe for the column is 258.49 kN

(d) If the end condition is fixed -fixed

The effective factor, K =0.5

The critical buckling load , Pcr = π²EI/(KL)²

Pcr = π² * 200 * 10 ^3 * 4.62 * 10 ^6/( 0.5 * 6 * 10 ^3)²

=1013279.4 N

=1013.28 kN

The maximum safe load,  P allow = Pcr/F.S

P allow = 1013.28 / 2

= 506.64 kN

P allow = 506.64 kN

Therefore the maximum safe for the column is 506.64 kN

8 0
4 years ago
How long...you...novels? A. Have/write B. Do/write C. Have/written D. Did/go
soldi70 [24.7K]

Answer:

Answer is B.

Explanation:

Subject verb agreement

3 0
3 years ago
Read 2 more answers
YO CUTIE! HELP MEEEEEE! Hazardous waste is a category that includes all of the following EXCEPT
madam [21]

your answer should be <u>B. Soluble</u>

3 0
3 years ago
Read 2 more answers
Other questions:
  • The components of an electronic system dissipating 90 W are located in a 1-m-long circular horizontal duct of 15-cm diameter. Th
    11·1 answer
  • According to the zeroth law of thermodynamics, which of the following cannot occur?
    7·1 answer
  • The moisture in hot, humid, stagnant air surrounding a cold-water pipeline continually diffuses to the cold surface where it con
    14·1 answer
  • A cylindrical specimen of brass that has a diameter of 20 mm, a tensile modulus of 110 GPa, and a Poisson’s ratio of 0.35 is pul
    13·1 answer
  • 100 points Im so bored lol
    11·2 answers
  • Silicon carbide nanowires of diameter D = 15 nm can be grown onto a solid siliconcarbide surface by carefully depositing droplet
    13·1 answer
  • According to the video, what are some of the effects of the increase in the use of automated tools for Loading Machine Operators
    11·2 answers
  • Suppose that we have a 1000pF parallel-plate capacitor with air dielectric charged to 1000V. The capacitor terminals are open ci
    5·1 answer
  • three people in the round field, the first person is walking slowly, the second is walking meduim and the last is fast
    10·1 answer
  • A task is something that you can physically do.
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!