Patent ID: 8069218

Claim:
A method of migrating a service process from a first server to a second server, the method comprising: (a) executing the service process on the first server; (b) determining a set of memory pages associated with the service process and creating a software-managed bitmap of the memory pages; (c) marking all the memory pages associated with the service process as unaffected in the bitmap; (d) establishing a migration criteria for indicating whether the service process is ready to be migrated; (e) starting a trace of affected memory pages associated with the service process and marking the affected pages in the bitmap; (f) when the migration criteria is satisfied, freezing the service process on the first server; (g) initializing a background migration process; (h) migrating the affected memory pages from the first server to a second server; (i) starting the service process on the second server; (j) migrating on-demand to the second server memory pages from the first server accessed by the service process on the second server; and (k) migrating remaining memory pages associated with the service process from the first server to the second server using the background migration process, wherein the migration criteria are based on a frequency of newly affected pages.