Performance Analysis

What idea does Gustafson's law express?

  1. AWhen adding processors, also enlarging the problem increases the parallel fraction, yielding large speedups
  2. BNo matter how many processors are added, speedup is always capped at 2×
  3. CThe parallel fraction is always constant regardless of problem size
Show answer and explanation

Answer: A. When adding processors, also enlarging the problem increases the parallel fraction, yielding large speedups

Amdahl's law considers adding processors to a fixed-size problem, so the serial part caps the speedup. Gustafson's law instead assumes that with more processors one solves a larger problem in the same time. Enlarging the problem, for example with a finer simulation grid, grows the parallel part and shrinks the serial fraction, giving gains nearly proportional to processor count.

  • A. Correct. This is why parallelism works for large-scale computing.
  • B. There is no such cap.
  • C. Larger problems often have larger parallel fractions.