Process Migration: A Mechanism for Transferring Executing Processes to New Processors, Study notes of Computer Science

Process migration, a system mechanism that moves a currently executing process to a new processor. Topics include homogeneous and heterogeneous migration, distributed shared memory, remote execution, load balancing policies, and metrics of process migration. Examples and algorithms are provided, as well as discussions on os virtualization and network virtualization in mobidesk.

Typology: Study notes

Pre 2010

Uploaded on 08/18/2009

koofers-user-cbd
koofers-user-cbd ๐Ÿ‡บ๐Ÿ‡ธ

10 documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
167
Process Migration
Movement of a currently executing process to a new
processor
๎š„Process migration mechanism โ€“ how the system
migrates a process from source to destination
๎š…Homogenous
๎š…Heterogeneous
๎š…Distributed shared memory
๎š„Remote execution โ€“ process execution on a new
machine
๎š„Load balancing policy โ€“ when and where to transfer a
process
๎š…E.g., CPU resource, network bandwidth
9
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Process Migration: A Mechanism for Transferring Executing Processes to New Processors and more Study notes Computer Science in PDF only on Docsity!

Process Migration Movement of a currently executing process to a new

processor

ย„

Process migration mechanism โ€“ how the systemmigrates a process from source to destination

Homogenous

Heterogeneous

Distributed shared memory ย„

Remote execution โ€“ process execution on a newmachine

ย„

Load balancing policy โ€“ when and where to transfer aprocess

E.g., CPU resource, network bandwidth

Example : Heart Transplant

What needs to be migrated? ย„

Process control information

Priority, state, process ID, parent process ID ย„ Execution state

Processor state, registers, stack pointer, program counter โ€ฆ ย„ Address space

The entire virtual memory of the process ย„ Message

Buffer messages, e.g., in the network stack or from other processes ย„ File information

Can all processes be migrated?

Process Migration Algorithms ย„

Total copy

As its name suggests

Simple

Heavy overhead ย„

Demand page

No virtual memory pages

Transfer on demand in case of page faults ย„

File Server

Introduce a third server ย„

Freeze free

Send current code, stack and the current heap page

Separate process state from the state of communication links,the later is migrate separately

OS Virtualization in MobiDesk(Contโ€™d) ย„

Migration of session

Use check-point restart ย„ Suspend the session ย„ Save high-level representation ย„ Digital signed and transfer to another machine

Only applicable to the same platform, may accommodatedifferent kernel version ย„

Comments:

Software like VMWare, Windows Virtual Desktop providesvirtualization of entire OS and allows running applicationscompiled for one platform to run another platform but sessionscannot be migrated across platforms

Network Virtualization in MobiDesk ย„

Issues

Multiple sessions on the same server may run the same service

Ongoing network connections must be preserved when asession is migrated from one server to another

Case2: Across different subnets ย„

INCONSISTENCY: cannot migrate an aliased address obtained inone subnet to another and retain current connection ย„ CONFLICT : the aliased address may be reused in old subnet,confusing the proxy

Solution ย„

(Virtual address, physical address) pair

Use virtual addresses for proxy mapping and map these virtualaddresses to physical (aliased) addresses dynamically at the proxy ย„ Each session is bound to a different virtual NIC at the proxy, andlabels in packets are used to identify the virtual NIC to which thesession is bound