Question
A non-pipelined instruction execution unit that operates at 1.6 GHz clock takes an average of 5 clock cycles to complete the execution of an instruction. To improve the performance, the system was pipelined with a goal of achieving an average throughput of one instruction per clock cycle. However, it could operate only at 1.2 GHz due to pipeline overheads. While executing a program in the pipelined design, 30% of instructions encountered a stall of 2 cycles due to pipeline hazards.
The speed-up obtained by the pipelined design over the non-pipelined one for this program is ___________. (rounded off to two decimal places)
Note:
Official answer and solution
- Accepted answers
- 2.3 to 2.4
- From
- Official GATE 2026 answer key
Solution
Compute average execution time per instruction for both designs and take their ratio.
- Non-pipelined design:
- , clock frequency .
- Average time per instruction .
- Pipelined design:
- , clock frequency .
- Average time per instruction .
- Speed-up:
2.34
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2026 Computer Science and Information Technology - Session 2 (CS2)
- Question
- 57 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.