# Gustafson's Law

> Give a bigger machine a bigger problem and speedup grows with the processors.

**Field:** Software & systems · **Reliability:** Empirical · **Coined:** 1988 · **Named after:** John Gustafson

*Also known as: Gustafson–Barsis's law*

## What it means

Amdahl asks how much faster a fixed job runs on more processors, and answers pessimistically. Gustafson reframes it: in practice people who get a bigger machine run a bigger problem in about the same time, not the same problem faster. Under that assumption the serial overhead becomes a shrinking share of the work, so speedup keeps rising with processor count instead of hitting Amdahl's ceiling.

## How it works

The scaled speedup is S = N − (1 − p)(N − 1), equivalently S = (1 − p) + p·N, where N is the processor count and p the parallel fraction of the scaled workload. The key modelling move is that problem size grows with N, so the parallel work expands proportionally while the serial part stays roughly constant in absolute time. That makes speedup a straight line in N (slope p, intercept the serial fraction) with no asymptotic wall, in contrast to Amdahl's 1/(1 − p) limit.

## Examples

- **Filling the supercomputer:** Gustafson's own motivation: on a 1024-processor hypercube at Sandia, real applications reached speedups near a thousandfold, seeming to break Amdahl's ceiling, because the workloads were scaled up with the machine. It became the standard argument for why massively parallel processing is worthwhile.
- **Finer simulations:** Weather, fluid-dynamics, and finite-element models naturally scale with available compute: a bigger machine runs a finer grid or larger domain, so the per-cell parallel work grows while setup stays fixed (the canonical Gustafson regime).

## Try it

This entry is interactive: a live calculator.
Open it at https://conyso.com/lawtome/laws/gustafsons-law/ — free, runs in the browser, sends nothing anywhere.

```
S = N - s (N - 1)
```

- `s` — Serial fraction (%)
- `N` — Processors

## Why it matters

It rescued the case for massively parallel computing from Amdahl's gloom by pointing out that ambition scales with capacity: bigger machines are used for bigger problems. It reframed the goal of parallelism from 'finish the same job faster' to 'do more within the same time', which is how large-scale scientific computing actually proceeds.

## Where it breaks down

It assumes the parallelisable portion scales freely with problem size and that absolute serial time stays constant: true for many simulations, false for problems with fixed data or hard sequential dependencies. Algorithms with nonlinear complexity do not gain proportionally, since scaling the data inflates work super-linearly. Like Amdahl, it is an idealisation that ignores communication, synchronisation, memory bandwidth, and load imbalance; the universal scalability law exists precisely to capture what both omit. Some also note it is essentially a re-parameterisation of Amdahl: the same mathematics with a different independent variable.

## Common misreadings

It does not refute Amdahl's law or repeal the serial bottleneck; it changes the question, holding time rather than problem size fixed. Nor does it promise linear speedup for every workload, only for those whose parallel work grows with problem size. It is an optimistic reframing under a specific, common assumption, not a universal guarantee.

## Origin

Set out by John Gustafson at Sandia National Laboratories, with the reasoning credited jointly to Edwin Barsis, in 'Reevaluating Amdahl's Law' (Communications of the ACM, May 1988). It generalised from measured thousand-processor results and reframed Amdahl's fixed-size analysis as a fixed-time one.

## Related

- [Amdahl's Law](https://conyso.com/lawtome/laws/amdahls-law/) — tension

## Sources

- [Gustafson, J.L. (1988). "Reevaluating Amdahl's Law." Communications of the ACM, 31(5), 532–533.](<https://dl.acm.org/doi/10.1145/42411.42415>)
- [Gustafson's law, Wikipedia. — the scaled-speedup formula, the Amdahl framing, and the limitations.](<https://en.wikipedia.org/wiki/Gustafson%27s_law>)

---
Source: https://conyso.com/lawtome/laws/gustafsons-law/ · The Law Tome — a sourced index of named laws.
