Parallel computing performs multiple parts of a computation simultaneously, typically on several processors or execution units. It requires decomposing work and coordinating data dependencies, communication and synchronization. Concurrent computing also permits overlapping activities on a single processor, so concurrency alone does not imply simultaneous hardware execution.
If fraction of a fixed computation remains serial and the rest divides perfectly among processors, the idealized runtime is . Thus Amdahl's law gives speedupfor . With a 10 percent serial fraction and 10 processors, the ideal speedup is about 5.26, before communication overhead. The calculation assumes a fixed workload; changing the workload size changes the question. Load imbalance and limited memory bandwidth can further reduce the achieved gain.
Amdahl's law bounds the speedup obtained by accelerating only part of a fixed computation. Let fraction of its original execution time remain serial, while fraction divides perfectly among identical processors. ThenThe terms add because the serial and accelerated parts still both have to finish. If , ten processors give ; even infinitely many cannot exceed speedup ten.
Gene M. Amdahl's 1967 argument emphasized sequential work and irregularities in real computations.[ref]
Validity of the single processor approach to achieving large scale computing capabilities by Gene M. Amdahl. printed p.483, sequential housekeeping and physical-problem irregularities
The displayed idealized formula follows from the stated time decomposition. Communication, synchronization, unequal work and limited memory bandwidth can reduce actual speedup. Increasing the problem size changes the serial fraction and asks a different scaling question.