GATE Computer ScienceVery hardGATE CS (PYQ pattern)

After a section of a program was made 10 times faster, measurements on the improved program show that the improved section accounts for 60% of its new execution time. What is the overall speed-up over the original program?

  1. A. 6.40
  2. B. 2.17
  3. C. 2.50
  4. D. 10.00

Correct answer: A. 6.40

Take the new time as 1: 0.4 is unimproved and 0.6 is the improved section, which originally took 6. Original time = 0.4 + 6 = 6.4, so the speed-up is 6.4 (the section was 93.75% of the original time). Plugging 60% into Amdahl's law as if it were the original fraction gives 2.17; its limit is 2.5.

More Computer Organization and Architecture questions

Exams that ask this topic