Mechanisms for Process Migration

Introduction


  Load balancing can be either nonpreemptive or preemptive. In nonpreemptive dynamic scheduling called dynamic task placement, the tasks are eligible for redistribution only before they start to execute. In preemptive scheduling, called process migration, a task may be relocated after execution begins. The steps involved include :   Process migration policies are similar to those of dynamic task placement policies. However to avoid thrashing, an eligible task must be : Both the above methods have a basic overhead associated with them, but process migration has the additional overhead of transferring the source machine state to the target machine. A typical process state consists of virtual memory information, open files, message buffers, state and environment data. A major task is to transfer virtual memory information which can be done in the following ways:

Is it worthwhile?


  The process state can become very large making the migration, a very expensive operation. If a parent process spawns child process, then there is an additional problem if the parent migrates without the children knowing the new location. However if augmented with dynamic task placement, there could be improvements.


Next
Previous
Index(TOC)