Next: Skeptic Postulates For Parallel
Up: Computational Models
Previous: Equal Duration Model
Contents
Parallel Computation with Serial Sections Model
- In this computational model, it is assumed 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 speedup factor is therefore given by
 |
(3.4) |
- According to this equation, the potential speedup 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 speedup 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 speedup factor is given by
- Therefore, according to Amdahl's law 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 speedup factor would not be possible by using parallel architectures.
- The effect of the communication overhead on the speedup factor, given that a fraction,
, of the computation is not parallelizable.
 |
(3.5) |
The maximum speedup factor under such conditions is given by
- The above formula indicates that the maximum speedup 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 speedup 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. In order to maintain a certain level of processor efficiency, there should exist a relationship between the fraction of serial computation, f, and the number of processor employed.
Next: Skeptic Postulates For Parallel
Up: Computational Models
Previous: Equal Duration Model
Contents
Cem Ozdogan
2006-12-27