University at Buffalo
The State University of
New York
CCR
Center for Computational Research
Parallel Algorithm Dev.
n
Try to achieve load balance
n
Be aware of Amdahl’s Law
q
Speedup is limited by sequential portion of code
n
t
B
N
t
parallel
=
t
A
+
t
serial
t
parallel
Speedup
=
t
B
N
t
serial
t
A
+
Speedup
=