Solutions to Parallel and Distributed Computing Problems: Lessons from Biological Sciences
by Albert Y. Zomaya, Fikret Ercal, Stephan Olariu
8.5 TASK MAPPING WITH GENETIC ALGORITHMS
The quality of the suboptimal solution obtained using GAs depends a great deal on the form of the fitness function employed, and the type and rate of genetic operators. In addition, GAs can differ in chromosome representation. Three PGA-based techniques for solving the TMP are presented in this chapter. All three methods are based on the decomposition approach. In all of them, the task graph is assumed static. In other words, there is no dynamic process creation and all known communication latencies between processes remain unchanged for the lifetime of the application. GA implementations can also differ in the chromosome representation, the fitness function selected, and in the genetic operators and operator rates used. Therefore, these issues will be considered in presenting the alternative GA task-mapping methods.
8.5.1 Notation
The following notation is used in the rest of this chapter:
| M | The number of tasks to be mapped |
| N | The number of processors in the target architecture |
| W(p) | The total weight of all tasks assigned to processor p |
![]() |
The ideal computational load for each processor, which is also the average weight among all processors |
| dij | The distance between processors i and j |
| exy | The edge weight between a task tx in processor i and a task ty in processor j |
| cij = dij Σx Σy exy | The communication cost between processors |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access
