Vol. I a living index of named laws · est. mmxxvi no ads · no account
The Law Tomeindex of named laws
In tension

Amdahl's Law vs Gustafson's Law

These two pull in opposite directions: what one recommends, the other warns against. Here is what each actually claims, field by field.

Amdahl's Law compared with Gustafson's Law
AttributeAmdahl's LawGustafson's Law
FieldSoftware & systemsSoftware & systems
ReliabilityEmpiricalEmpirical
Coined19671988
Named afterGene AmdahlJohn Gustafson
TypeEstablishedEstablished

What they have in common

  • Both sit in Software & systems.
  • Both are rated Empirical, so they stand on the same kind of evidence.
  • Amdahl's Law is the older of the two by 21 years.

Side by side

What it claims

Amdahl's LawThe speedup from parallelising a task is capped by the part that stays sequential.
Gustafson's LawGive a bigger machine a bigger problem and speedup grows with the processors.

In plain English

Amdahl's LawIf some fraction of a job must run in sequence, adding more processors speeds up only the rest, so the serial part becomes the bottleneck, and you can never finish faster than that part alone takes. The returns from extra processors diminish and then flatten against a hard ceiling.
Gustafson's LawAmdahl 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

Amdahl's LawThe speedup is S = 1 / ((1 − p) + p/N), where p is the parallelisable fraction, (1 − p) the serial fraction, and N the number of processors. The serial fraction sets a floor on execution time and therefore a ceiling on speedup: as N grows without bound, the p/N term vanishes and S approaches 1/(1 − p). Amdahl's 1967 argument was really a qualitative case against the single-processor-array approach; the compact formula is a faithful later crystallisation of it.
Gustafson's LawThe 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.

Why it matters

Amdahl's LawIt is the founding sobering result of parallel computing: throwing hardware at a problem has a mathematically fixed limit set by the part that cannot be parallelised. It disciplines expectations for multicore and cluster performance and directs effort toward shrinking the serial fraction rather than merely adding cores.
Gustafson's LawIt 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

Amdahl's LawAmdahl's law assumes a fixed problem size (strong scaling) and a constant serial fraction. Gustafson's rebuttal is that real workloads grow to fill available parallelism, so the effective serial fraction shrinks with scale and Amdahl is pessimistic for many practical high-performance problems. It also ignores overhead (inter-processor communication, synchronisation, memory contention, scheduling), which can make measured speedup fall short of the bound, the gap the universal scalability law was built to capture. The formula itself is uncontested; only its modelling assumptions are.
Gustafson's LawIt 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.

Commonly misread as

Amdahl's LawIt does not say parallelism is futile, only that its benefit is bounded by the serial share. Nor is it the whole story: whether the serial fraction is really fixed is exactly what Gustafson disputes for scalable workloads. Read it as a ceiling on fixed-size speedup, not as a verdict against large parallel machines.
Gustafson's LawIt 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.

A worked example

Amdahl's LawA task that is 95% parallel is capped at 1/(1 − 0.95) = 20× speedup no matter how many processors you add. The last 5% that must run in sequence sets the wall.
Gustafson's LawGustafson'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.

Where it came from

Amdahl's LawStated by the computer architect Gene Amdahl in 'Validity of the single processor approach to achieving large scale computing capabilities' (AFIPS Spring Joint Computer Conference, 1967), while he was at IBM. The pithy algebraic 'law' is a later formalisation of his argument, which was originally a qualitative case against massively parallel arrays.
Gustafson's LawSet 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.

Sources

Questions about this pair

What is the difference between Amdahl's Law and Gustafson's Law?

Amdahl's Law says “The speedup from parallelising a task is capped by the part that stays sequential.”; Gustafson's Law says “Give a bigger machine a bigger problem and speedup grows with the processors.”. They pull in opposite directions, so which applies depends on your conditions. The two are compared field by field above.

Are Amdahl's Law and Gustafson's Law the same thing?

No. The corpus records them as opposed: what one recommends, the other warns against.

Which one should I apply?

Whichever one's conditions your case meets. This page will not guess which that is. Amdahl's Law states where it stops working, and so does Gustafson's Law; both passages are above, in the entries' own words. Reading the two limits side by side answers this faster than a recommendation from a site that cannot see your situation.