GATE CS 2024, set 2 · Question 58 · Computer Organization and Architecture · Numerical answer (NAT) · 2 marks · no negative marks

A non-pipelined instruction execution unit operating at 2 GHz takes an average of 6 cycles to execute an instruction of a program P. The unit is then redesigned to operate on a 5-stage pipeline at 2 GHz. Assume that the ideal throughput of the pipelined unit is 1 instruction per cycle. In the execution of program P, 20% instructions incur an average of 2 cycles stall due to data hazards and 20% instructions incur an average of 3 cycles stall due to control hazards. The speedup ( rounded off to one decimal place ) obtained by the pipelined design over the non-pipelined design is ______

Answer

Answer between 2.9 and 3.1 (any value in this range is right)

Answer from the official GATE CS 2024 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes