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?

  1. A. p = 14, speed-up 4.268
  2. B. p = 13, speed-up 4.269
  3. C. p = 64, speed-up 10.000
  4. 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.

More Computer Organization and Architecture questions

Exams that ask this topic