Skip to main content

GATE CSE 2026CO & Architecture › Instruction Pipelining & PerformanceVerified

GATE CSE 2026 PYQ: A non-pipelined instruction execution unit that operates at 1.6 1.6 1.6 GHz clock takes an average of 5 5 5…

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%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: 1G=1091 \mathrm{G}=10^{9}

    Answer

    2.34

    Approach

    Compute average execution time per instruction for the non-pipelined and pipelined designs using clock frequency and effective CPI, then take their ratio.

    The pipelined design lowers CPI from 5 to 1.6, but its clock is slower (1.2 GHz vs 1.6 GHz). The ratio of average times per instruction is 2.34.

    Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.