CS FundamentalsVery hardProduct-company DevOps interview

90% of a CI pipeline's run time is parallelisable tests and 10% is serial setup. Moving to 8 parallel runners, what overall speed-up does Amdahl's law predict?

  1. A. About 4.7x
  2. B. 8x
  3. C. About 7.2x
  4. D. About 10x

Correct answer: A. About 4.7x

Speed-up = 1/(0.1 + 0.9/8) = 1/0.2125 ≈ 4.7. The 10% serial part caps the speed-up at 10x however many runners are added.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic