Assignment 2 Parallel and Distributed Computing
Assignment 2 Parallel and Distributed Computing
Class: BSCS-6A
Arid-No: 22-Arid-3106
Solution : -
●…
So, at the last level before the leaves, the number of tasks
is maximal: 2^(h-1) (where h is the tree height)
Formula:
● Critical length = h
6. Speedup
Speedup=Serial Execution TimeParallel Execution
Speedup=2h−1h\text{Speedup} = \frac{2^h -
1}{h}Speedup=h2h−1