GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A processor's logic takes 60 ns per instruction unpipelined. Split into k stages, the cycle time is 60/k + L ns (L = latch overhead) and hazards make CPI = 1 + 0.1(k − 1). Which integer k minimises the time per instruction when L = 3 ns, and which when L = 1 ns?
- A. 13 and 13
- B. 13 and 23
- C. 23 and 13
- D. 13 and 39
Correct answer: B. 13 and 23
Time(k) = (60/k + L)(0.9 + 0.1k) = 54/k + 6 + 0.9L + 0.1Lk, minimised near k = √(54/(0.1L)). L = 3: √180 ≈ 13.4 → checking 13 and 14 gives 13. L = 1: √540 ≈ 23.2 → 23. Cheaper latches justify deeper pipelines (by √3, not 3×).
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A DRAM controller uses an open-page policy: a row-buffer hit costs 15 ns and a miss 45 ns (precharge + activate + column). Under a…
- An in-order 2-issue processor starts up to two consecutive instructions per cycle. The second is issued with the first only if it has no…
- A direct-mapped L1 has hit time 1 cycle and miss rate 5%. A small victim cache catches 30% of the L1 misses at a cost of 2 cycles (instead…
- A 5-stage pipeline with full forwarding has a base CPI of 1. 30% of instructions are loads and half of the loads are immediately followed…
- A 4-way set-associative cache of 64 KB uses 32-byte blocks and 32-bit physical addresses. Each block has one valid bit and one dirty bit…
- A processor has an L1 hit time of 1 cycle and an L1 miss rate of 10%. An L2 cache has a hit time of 10 cycles and a local miss rate of…