






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







What is process migration? Process migration is the relocation of a process from its current location (source node) to another node (destination node). The process can be either a non-preemptive or preemptive process. The selection of the process to be migrated, the selection of the destination node, and the actual transfer of the selected process are the three steps involved in process migration. There are two types of Process Migration: Non-preemptive process: If a process is moved before it begins execution on its source node which is known as a non-preemptive process. Preemptive process : If a process is moved at the time of its execution that is known as preemptive process migration. Preemptive process migration is all the more expensive in comparison to non-preemptive because the process environment should go with the process to its new node. What are the steps involved in Process Migration? The steps which are involved in migrating the process are: The process is chosen for migration.
Choose the destination node for the process to be relocated. Move the chosen process to the destination node. The subcategories to migrate a process are: The process is halted on its source node and is restarted on its destination node. The address space of the process is transferred from its source node to its destination node. Message forwarding is implied for the transfer process. Managing the communication between collaborating processes that have been isolated because of process migration. The methods of Process Migration are :
complex than the homogeneous case since it should review the machine and operating designs and attributes, as well as send similar data as homogeneous process migration including process state, address space, file, and correspondence data. Heterogeneous process migration is particularly appropriate in the portable environment where is almost certain that the portable unit and the base help station will be different machine types. It would be attractive to relocate a process from the versatile unit to the base station as well as the other way around during calculation. In most cases, this couldn’t be accomplished by homogeneous migration. There are four essential types of heterogeneous migration: Passive object: The information is moved and should be translated. Active object, move when inactive: The process is relocated at the point when it isn’t executing. The code exists in the two areas, and just the information is moved and translated. Active object interpreted code: The process is executed through an interpreter so just information and interpreter state need to be moved. Active object, native code: Both code and information should be translated as they are accumulated for a particular architecture.
Why use Process Migration? The reasons to use process migration are: Dynamic Load Balancing: It permits processes to exploit less stacked nodes by relocating from overloaded ones. Accessibility: Processes that inhibit defective nodes can be moved to other perfect nodes. System Administration: Processes that inhabit a node if it is going through system maintenance can be moved to different nodes. The locality of data: Processes can exploit the region of information or other extraordinary abilities of a specific node. Mobility: Processes can be relocated from a hand-operated device or computer to an automatic server-based computer before the device gets detached from the network. Recovery of faults: The component to stop, transport, and resume a process is valuable to support in recovering the fault in applications that are based on transactions.
-Minimize cost of supporting the migrated process after migration. Minimal Downtime: Ideally, the downtime during migration should be minimized. The process should be suspended for as short a time as possible, ensuring that the user experiences minimal disruption. Consistency and Data Integrity: Data that the process is working on should be preserved during migration. This means that any changes made to the process's state should be transferred accurately to the destination machine. Compatibility: The source and destination machines should be compatible in terms of architecture, operating system, and dependencies required by the process. Resource Availability: The destination machine should have sufficient resources (CPU, memory, etc.) available to handle the migrating process. The system should be able to perform resource checks before initiating migration. Migration Control and Policies:
The system should allow for policies to be set regarding when, where, and how processes can be migrated. This could include factors like load thresholds, network conditions, and user-defined rules. Security and Authentication: Migration should be secure and authenticated. This includes ensuring that only authorized users or systems can initiate a migration and that the process's data is protected during transit. Error Handling and Recovery: The migration system should be able to handle errors and failures gracefully. It should have mechanisms in place to recover from failures, rollback to a previous state if needed, and report any issues to administrators. Live Migration: In some cases, it's desirable for the process to keep running while it's being migrated. Live migration involves moving a process without stopping it, allowing it to continue executing on the destination machine without interruption. Network Awareness:
requirements may vary depending on the use case and the environment in which the system is deployed.