Parallel Computation with Serial Sections Model
- It is assumed (or known) that a fraction of the given task (computation) is not dividable into concurrent subtasks.
- The remaining part is assumed to be dividable into concurrent subtasks.
- The time required to execute the task on processors is
- The speed-up factor is therefore given by
|
(3.4) |
- According to this equation, the potential speed-up due to the use of processors is
determined primarily by the fraction of code that cannot be divided.
- If the task (program) is completely serial, that is, , then no speed-up can be achieved regardless of the number of processors used.
- This principle is known as Amdahl's law.
- It is interesting to note that according to this law, the maximum speed-up factor is given by
- Therefore, the improvement in performance (speed) of a parallel algorithm over a sequential one is
- limited not by the number of processors employed
- but rather by the fraction of the algorithm that cannot be parallelized.
- According to Amdahl's law, researchers were led to believe that a substantial increase in speed-up factor would not be possible by using parallel architectures.
- NOT parallelizable;
- communication overhead,
- a sequential fraction,
- The maximum speed-up factor under such conditions is given by
|
(3.5) |
- The above formula indicates that the maximum speed-up factor is determined not by the number of parallel processors employed but by the fraction of the computation that is not parallelized and the communication overhead.
- Recall that the efficiency is defined as the ratio between the speed-up factor and the
number of processors, .
- The efficiency can be computed as:
|
(3.6) |
- As the number of processors increases, it may become difficult to use those processors efficiently.
Cem Ozdogan
2010-12-27