Performance

Amdahl's Law

The speedup from parallelization is limited by the sequential portion of the task.

Gene Amdahl showed that if a program is 95% parallelizable, the maximum theoretical speedup is 20x—no matter how many processors you add. The 5% sequential portion becomes the bottleneck.

Formula

`Speedup = 1 / (S + P/N)` where S = serial fraction, P = parallel fraction, N = processors.

In Practice

Resources

Open the interactive DevLaws app for protocols, bookmarks, and AI enforcement.

Open in app Browse all laws Marketing site