Given a parallel runtime of 30s on 5 cores and a serial runt
Given a parallel runtime of 30s on 5 cores and a serial runtime of 120s, what is the speedup?
Given a parallel runtime of 30s on 5 cores and a serial runtime of 120s, what is the speedup?
Solution
Formula :
Speed up S(n) = Runtime on single CPU / Runtime time on N parallel processrs
or
Speed up S(n) = (serial runtime ts)/(parallel tp)
Runtime on single CPU (ts) = 120s.
Runtime time on 5 cores (tp) = 30s.
Substitute the corrosponding values on the above formula.
Speed up S(n) = 120 s / 30 s
Speed up S(n) = 4 .
Therefore the speed up is 4 times.
| Speed up S(n) = Runtime on single CPU / Runtime time on N parallel processrs or Speed up S(n) = (serial runtime ts)/(parallel tp) |
