GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2024 set2

GATE 2024 set2 · CS · NAT · 2 marks · Computer Organization and Architecture › Pipelining

GATE 2024 set2 Computer Science and Information Technology question: A non-pipelined instruction execution unit operating at 2 GHz takes an average of 6…

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 ________

Show answer

Official answer: 2.9 to 3.1

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion