Skip to content
Official PYQ · 2016

GATE CS 2016 Set 1 Q32 — Instruction Pipelining

Explain with AI
The stage delays in a 44-stage pipeline are 800,500,400800, 500, 400 and 300300 picoseconds. The first stage (with delay 800800 picoseconds) is replaced with a functionality equivalent design involving two stages with respective delays 600600 and 350350 picoseconds. The throughput increase of the pipeline is ___________ percent.
View worked solution

Answer: 33.0 : 34.0

The throughput of a pipeline is determined by its clock cycle time, which is equal to the maximum delay among all the pipeline stages.

1. Original Pipeline

The stage delays are 800800, 500500, 400400, and 300300 picoseconds (ps).

  • Original Cycle Time (ToldT_{\text{old}}): Told=max⁡(800,500,400,300)=800 psT_{\text{old}} = \max(800, 500, 400, 300) = 800\text{ ps}
  • Original Throughput (TPoldTP_{\text{old}}): TPold=1Told=1800 instructions/psTP_{\text{old}} = \frac{1}{T_{\text{old}}} = \frac{1}{800}\text{ instructions/ps}

2. Modified Pipeline

The first stage of 800 ps800\text{ ps} is replaced by two stages with delays of 600 ps600\text{ ps} and 350 ps350\text{ ps}. The new set of stage delays is 600600, 350350, 500500, 400400, and 300300 ps.

  • New Cycle Time (TnewT_{\text{new}}): Tnew=max⁡(600,350,500,400,300)=600 psT_{\text{new}} = \max(600, 350, 500, 400, 300) = 600\text{ ps}
  • New Throughput (TPnewTP_{\text{new}}): TPnew=1Tnew=1600 instructions/psTP_{\text{new}} = \frac{1}{T_{\text{new}}} = \frac{1}{600}\text{ instructions/ps}

3. Percentage Increase in Throughput

The percentage increase in throughput is calculated as:

Percentage Increase=TPnew−TPoldTPold×100=1600−18001800×100=(800600−1)×100=(43−1)×100=13×100≈33.33%\begin{aligned} \text{Percentage Increase} &= \frac{TP_{\text{new}} - TP_{\text{old}}}{TP_{\text{old}}} \times 100 \\ &= \frac{\frac{1}{600} - \frac{1}{800}}{\frac{1}{800}} \times 100 \\ &= \left(\frac{800}{600} - 1\right) \times 100 \\ &= \left(\frac{4}{3} - 1\right) \times 100 \\ &= \frac{1}{3} \times 100 \approx 33.33\% \end{aligned}

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Instruction Pipelining questions