Amdahl's law (parallel speed-up) calculator
Maximum speed-up from running part of a program on more processors. Enter your values and see the formula, your numbers plugged in and every step of the working. Free, no sign-up, SI and imperial units.
Formula
S = 1 / [(1 − p) + p / N] S_max = 1 / (1 − p)
Inputs
- Parallel fraction of the work (p), in % or other units
- Number of processors / cores (N)
Worked example: A job that is 90 % parallel on 8 cores
- Parallel fraction of the work p = 90 %
- Number of processors / cores N = 8
- Convert inputs to SI units: p = 90 % = 0.9
- Serial part: 1 − p = 0.1; parallel part per core: p / N = 0.9 ÷ 8 = 0.1125
- S = 1 ÷ (0.1 + 0.1125) = 4.70588×
- Efficiency = 4.70588 ÷ 8 = 58.8235 %
- Even with infinite cores the serial part limits speed-up to 10×
Answer: Speed-up S = 4.70588 ; Parallel efficiency S/N = 58.8235 %; Maximum speed-up (infinite cores) S_max = 10
More software engineering calculators
- Algorithm complexity (Big-O): How long algorithms of different complexity take as the input grows.
- Number base converter: Convert between binary, octal, decimal and hexadecimal, with the working.
- IP subnet calculator: Network, broadcast, mask and host range of an IPv4 address in CIDR form.
- Password strength (entropy): Entropy of a random password and how long brute force would take.
Software Engineering formula sheet · All calculators · Practice problems