GATE / CS ARCHIVE

GATE CSE 2016 SET 1 / QUESTION 32

GATE CSE 2016 Set 1 Q32

Computer Organization & Architecture · Pipelining & Hazards · Full GATE CSE 2016 Set 1 paper

GATE 2016 Set 1, Q32 2 marks · NAT
Report issue

Pipelining & Hazards

Question 32, GATE 2016: A4-stage pipeline has delays 800,500,400,300 ps. Replace its 800 ps stage by two equivalent stages of 600 ps and 350 ps. Ignoring unspecified register overhead, find the percentage increase in steady-state throughput.
Tap to enlarge
Answer & solution

Official answer: 33.0 : 34.0

Our answer: 33.33%

Ignoring unstated register overhead, the old steady-state clock is 800 ps and the new bottleneck 600 ps. Throughput rises from 1/800 to 1/600 instructions/ps. Relative increase=(800/600−1)·100%=33.333...%, rather than the 25% decrease in clock period.

A pipeline clock must accommodate its slowest stage, so the new clock is max(600,350,500,400,300)=600 ps. After filling, an ideal pipeline completes one item each clock; the number of stages affects latency but not this rate. The ratio of rates is (1/600)/(1/800)=4/3. Subtracting 1 and converting to percent gives 33⅓%. Computing(800−600)/800 instead measures a 25% period reduction, a different requested quantity.

Original paper, page 13 · Answer key