Amdahl's law in Computer Organization (original) (raw)

Last Updated : 8 Apr, 2026

Amdahl’s Law, proposed by Gene Amdahl in 1967, explains the theoretical speedup of a program when part of it is improved or parallelized. It is widely used in parallel computing to predict the benefits of using multiple processors.

The main idea is that the speedup of a system is limited by the portion of the program that cannot be parallelized (the sequential part).

Key Terms

S = \frac{\text{Old Execution Time}}{\text{New Execution Time}}

Formula

S = \frac{1}{(1 - P) + \frac{P}{N}}

Maximum Speedup

S_{\text{max}} = \frac{1}{1 - P}

Example

Suppose a program spends **20% (P = 0.2) of its time in parallelizable work, and we use **5 processors (N = 5):

S=1(1−0.2)+0.25=10.8+0.04=1.19S = \frac{1}{(1 - 0.2) + \frac{0.2}{5}} = \frac{1}{0.8 + 0.04} = 1.19S=(1−0.2)+50.2​1​=0.8+0.041​=1.19

➡ The system improves by only **19%, showing that the 80% sequential part is the bottleneck.

Advantages

Disadvantages