GATE Computer ScienceVery hardGATE CS (PYQ pattern)
90% of a program parallelises perfectly, but coordinating p processors adds an overhead of 0.005·p of the single-processor run time, so T(p) = 0.1 + 0.9/p + 0.005p. Which integer p gives the largest speed-up, and what is that speed-up?
- A. p = 14, speed-up 4.268
- B. p = 13, speed-up 4.269
- C. p = 64, speed-up 10.000
- D. p = 8, speed-up 3.960
Correct answer: B. p = 13, speed-up 4.269
dT/dp = −0.9/p² + 0.005 = 0 → p = √180 ≈ 13.4. T(13) = 0.23423 and T(14) = 0.23429, so p = 13 wins narrowly: speed-up 4.269. Ignoring the overhead, the limit is 10.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- Three caches with 4 one-word lines each see the word-address trace [0, 4, 0, 8, 4, 0, 12, 4, 0, 8]: (i) direct-mapped, (ii) 2-way…
- A 5-stage pipeline has stage delays 200, 150, 300, 250 and 100 ps and a 25 ps latch overhead per stage. The 300 ps stage is split into two…
- Physical memory is 2 GB, virtual address space 2⁴⁸ bytes, pages 16 KB, and each PTE stores the frame number plus 6 control bits, rounded…
- A program of 10⁹ instructions runs on a 2 GHz machine. 30% of instructions take 1 cycle, 50% take 2 cycles and 20% take 5 cycles. The…
- A processor has base CPI 1.2 for non-memory work (60% of instructions) and every load/store (40% of instructions) takes 1 cycle plus…
- A device delivers 2,000,000 bytes/s into a 16-byte FIFO and raises an interrupt each time 12 bytes have accumulated. Each interrupt costs…