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
According to Amdahl's law, the part that cannot be parallelized (10%) does not get shorter no matter how many processors are added, so the total execution time cannot fall below 10% of the original. The maximum speedup is therefore 1 ÷ 0.1 = 10 times. This shows the importance of reducing the non-parallelizable part.