weak strong scaling
weak: problem size per HW thread/core etc stays the constant
strong: general size stays constant
amdahl law
(i-f)T + fT/p
parllel eficiency
speedup/p
what can limit parallelization
superlinear speedup
more bandwisth and fit in cache
data and function parallelism
data: SPMD
less overhead, but load imbalance
functional: pipelining
good load balance, but overhead