Skip to main content
QUICK REVIEW

[Paper Review] Amdahl's and Gustafson-Barsis laws revisited

Andrzej Karbowski|ArXiv.org|Sep 6, 2008
Advanced Queuing Theory AnalysisBusiness, Management and Accounting5 citations
TL;DR

This paper demonstrates that the Gustafson-Barsis law is not a fundamental alternative to Amdahl’s law, but rather a direct mathematical derivation from it under the assumption that the sequential part’s execution time remains constant across processor counts. The key contribution is showing that improved speedups observed in Gustafson’s experiments—approaching linear scaling with processor count—can be explained by Amdahl’s law when problem size and processor count scale together, resolving a long-standing misconception in parallel computing literature.

ABSTRACT

The paper presents a simple derivation of the Gustafson-Barsis law from the Amdahl's law. In the computer literature these two laws describing the speedup limits of parallel applications are derived separately. It is shown, that treating the time of the execution of the sequential part of the application as a constant, in few lines the Gustafson-Barsis law can be obtained from the Amdahl's law and that the popular claim, that Gustafson-Barsis law overthrows Amdahl's law is a mistake.

Motivation & Objective

  • To clarify the relationship between Amdahl’s law and Gustafson-Barsis law, which are often treated as competing theories in parallel computing.
  • To challenge the widespread belief that Gustafson-Barsis law overthrows or invalidates Amdahl’s law.
  • To demonstrate that the improved speedup trends observed in Gustafson’s experiments are explainable using Amdahl’s law when problem size scales with processor count.
  • To show that the assumption of constant sequential execution time is sufficient to derive the Gustafson-Barsis law from Amdahl’s law without additional or conflicting assumptions.

Proposed method

  • Derives the Gustafson-Barsis law from Amdahl’s law by assuming the sequential execution time T_s(n) is constant across different processor counts p.
  • Uses the standard Amdahl’s formulation S(n,p) = 1 / [β(n,1) + (1−β(n,1))/p] as the starting point.
  • Applies the identity β(n,1)·T(n,1) = β(n,p)·T(n,p) to express β(n,1) in terms of β(n,p) and the time ratio T(n,p)/T(n,1).
  • Algebraically manipulates the resulting equation to isolate the speedup S(n,p), yielding S(n,p) = p − (p−1)·β(n,p), which matches the Gustafson-Barsis formula.
  • Analyzes the behavior of β(n,1) as problem size n increases, showing that β(n,1) → 0 when the sequential time is constant and the parallel time grows with n.
  • Demonstrates that under such conditions, Amdahl’s speedup S(n,p) → p as n → ∞, matching the linear scaling behavior claimed by Gustafson.

Experimental results

Research questions

  • RQ1Can the Gustafson-Barsis law be derived directly from Amdahl’s law without introducing new assumptions?
  • RQ2Is the claim that Gustafson-Barsis law supersedes Amdahl’s law logically valid, or is it a misinterpretation of the underlying models?
  • RQ3Why do experiments with growing problem size and processor count show speedups approaching p, and can this be explained by Amdahl’s law?
  • RQ4What role does the constancy of the sequential execution time play in reconciling the two laws?

Key findings

  • The Gustafson-Barsis law is mathematically derivable from Amdahl’s law under the assumption that the sequential execution time T_s(n) remains constant regardless of the number of processors p.
  • The popular belief that Gustafson-Barsis law invalidates or replaces Amdahl’s law is incorrect and stems from a misinterpretation of the underlying assumptions.
  • When the problem size n increases such that the sequential time T_s(n) is constant, the serial fraction β(n,1) in Amdahl’s law tends to zero as n → ∞, leading to S(n,p) → p.
  • The observed linear speedup in Gustafson’s experiments—where speedup approaches the number of processors—can be fully explained by Amdahl’s law when problem size scales with processor count.
  • The normalization of execution time to 1 in Gustafson’s original formulation is not necessary and introduces unnecessary complexity; the result holds under the more natural assumption of constant sequential time.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.