Measuring Performance
Amdahl's (Heartbreaking) Law
Speedup due to enhancement E:
If the enhancement E do not affect a portion s (s < 1) of a task, and accelerate the remainder (1 - s) by a factor P (P > 1):
- Exec time w/ E = Exec time w/o E * (s + (1 - s) / P)
Consequence of Amdahl's Law: The amount of speedup that can be achieved through parallelism is limited by the serial portion of the program