CPUs and architecture
If 90% of a program can be parallelized, what is the theoretical maximum speedup when it runs on an unlimited number of processors?
- A10 times
- B90 times
- CInfinite
Show answer and explanation
Answer: A. 10 times
Amdahl's law gives speedup as 1/((1 − p) + p/N) for parallel fraction p and N processors. With p = 0.9 the limit as N grows is 1/0.1 = 10×, and even N = 10 yields only about 5.3×. Even a small serial portion caps the speedup, so reducing it is crucial. Gustafson's law takes the complementary view of scaling the problem size to grow the parallel part.