All mock tests are FREE till 31 December — register to save your progress
Unit 2 · Computer System Architecture Paper 2 CS · December 2022 Shift 2

Consider an unpipelined machine with 10 ns clock cycles which uses four cycles for ALU operations and branches, and five cycles for memory operations. The relative frequencies of these operations are 40%, 20% and 40% respectively. Due to clock skew and setup, the pipelined machine adds 1 ns overhead to the clock. How much speedup is observed in the instruction execution rate when a pipelined machine is considered?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. 4 times

Explanation

Unpipelined average = 10 × (0.4×4 + 0.2×4 + 0.4×5) = 10 × 4.4 = 44 ns. Pipelined = 10 + 1 = 11 ns per instruction. Speedup = 44 / 11 = 4.

More Computer System Architecture questions