GATE Computer ScienceHardGATE CS

A program has a serial fraction of 5% when run on 1 processor. Under Amdahl's law (fixed problem size) the speedup on 64 processors is S_A, and under Gustafson's law (the parallel part scales with the machine, with serial fraction 5% of the 64-processor run time) the scaled speedup is S_G. What is S_G − S_A, to the nearest 0.1?

  1. A. 44.9
  2. B. 60.9
  3. C. 45.4
  4. D. 48.6

Correct answer: C. 45.4

S_A = 1/(0.05 + 0.95/64) = 15.42 and S_G = 64 − 0.05 × 63 = 60.85, so the difference is 45.4. Answers of 48.6 (64 − S_A) or 60.9 (just S_G) come from mixing up the two laws.

More Computer Organization and Architecture questions

Exams that ask this topic