296:
actively pushes the remaining memory pages of the VM to the target - an activity known as pre-paging. At the target, if the VM tries to access a page that has not yet been transferred, it generates a page-fault. These faults, known as network faults, are trapped at the target and redirected to the source, which responds with the faulted page. Too many network faults can degrade performance of applications running inside the VM. Hence pre-paging can dynamically adapt the page transmission order to network faults by actively pushing pages in the vicinity of the last fault. An ideal pre-paging scheme would mask large majority of network faults, although its performance depends upon the
252:(VM) or application between different physical machines without disconnecting the client or application. Memory, storage, and network connectivity of the virtual machine are transferred from the original guest machine to the destination. The time between stopping the VM or application on the source and resuming it on destination is called 'downtime'. When the downtime of a VM during live migration is small enough that it is not noticeable by the end user, it is called a 'seamless' live migration.
63:
165:
22:
277:
copies all the memory pages from source to destination while the VM is still running on the source. If some memory pages change (become 'dirty') during the pre-copy phase, they will be copied again and again over several 'pre-copy rounds'. Usually the pre-copy phase ends when the number of dirtied
295:
Post-copy VM migration is initiated by suspending the VM at the source. With the VM suspended, a minimal subset of the execution state of the VM (CPU state, registers and, optionally, non-pageable memory) is transferred to the target. The VM is then resumed at the target. Concurrently, the source
303:
Post-copy sends each page exactly once over the network whereas pre-copy can transfer the same page multiple times if the page is dirtied repeatedly at the source during migration. On the other hand, pre-copy retains an up-to-date state of the VM at the source during migration, whereas during
286:
After the pre-copy phase, the VM will be paused on the source host, the remaining dirty pages will be copied to the destination, and the VM will be resumed at the destination. The downtime due to this phase can range from a few milliseconds to seconds depending on the number of dirty pages
278:
pages remaining becomes small enough to yield a short stop-and-copy phase. However, if a VM keeps dirtying memory faster than can be re-copied to the destination, then pre-copy phase will end after a set time limit or maximum number of pre-copy rounds to begin the next stop-and-copy phase.
548:
304:
post-copy, the VM's state is split across the source and the destination. If the destination fails during live migration, pre-copy can recover the VM, whereas post-copy cannot.
466:
260:
Two techniques for moving the virtual machine's memory state from the source to the destination are pre-copy memory migration and post-copy memory migration.
670:
576:
598:
226:
208:
146:
49:
175:
80:
35:
127:
84:
99:
344:
660:
422:
395:
287:
transferred during downtime. VMs that dirty a lot of memory during the pre-copy phase tend to have a larger downtime.
106:
190:
355:
339:
244:
186:
73:
577:"Daniel P. Berrangé » Blog Archive » Analysis of techniques for ensuring migration completion with KVM"
113:
520:
350:
685:
379:
365:
329:
95:
385:
412:
297:
461:
444:
334:
41:
628:
594:
665:
120:
650:
614:
456:
249:
321:
since version 2.0, 2004 for PV guests; since version 3.1, May 18, 2007 for HVM guests
679:
492:
417:
373:
62:
390:
274:
645:
508:
313:
534:
655:
407:
434:
324:
193:. Statements consisting only of original research should be removed.
562:
439:
360:
671:
Microsoft
Whitepaper: Live Migration Overview & Architecture
471:
318:
158:
56:
15:
549:"Chapter 4. KVM Live Migration Red Hat Enterprise Linux 6"
182:
87:. Unsourced material may be challenged and removed.
666:Microsoft: Step by Step Guide for live migration
347:since February 2007, with different techniques.
467:Comparison of platform virtualization software
8:
509:Post-copy live migration of virtual machines
248:, refers to the process of moving a running
402:Cloud Platforms with live migration support
50:Learn how and when to remove these messages
429:Systems providing software live migration
227:Learn how and when to remove this message
209:Learn how and when to remove this message
147:Learn how and when to remove this message
629:"Qemu/KVM Virtual Machines - Proxmox VE"
651:OpenVZ checkpointing and live migration
483:
308:VM managers with live migration support
7:
85:adding citations to reliable sources
563:"KVM-15 release [LWN.net]"
494:Live migration of virtual machines
256:Live migration of Virtual Machines
14:
646:HOWTO Article about Xen migration
615:"VirtualBox Manual - Teleporting"
31:This article has multiple issues.
491:Clark, Christopher; et al.
163:
61:
20:
72:needs additional citations for
39:or discuss these issues on the
1:
591:Windows Server 2012 Unleashed
423:Oracle Cloud Infrastructure
396:Proxmox Virtual Environment
189:the claims made and adding
702:
521:"Xen project Mailing List"
356:Oracle VM Server for SPARC
340:Integrity Virtual Machines
291:Post-copy memory migration
264:Pre-copy memory migration
351:Oracle VM Server for x86
380:Live Partition Mobility
370:POWER Hypervisor (PHYP)
300:of the VM's workload.
273:In pre-copy phase, the
386:Hyper-V Server 2008 R2
366:Red Hat Virtualisation
330:Parallels Cloud Server
656:Live migration in KVM
413:Google Cloud Platform
298:memory access pattern
593:. Sams. 2012-09-16.
81:improve this article
445:Single-system image
335:Workload Partitions
282:Stop-and-copy phase
174:possibly contains
600:978-0-672-33622-5
535:"Migration - KVM"
237:
236:
229:
219:
218:
211:
176:original research
157:
156:
149:
131:
54:
693:
633:
632:
625:
619:
618:
611:
605:
604:
587:
581:
580:
573:
567:
566:
559:
553:
552:
545:
539:
538:
531:
525:
524:
517:
511:
505:
499:
498:
488:
232:
225:
214:
207:
203:
200:
194:
191:inline citations
167:
166:
159:
152:
145:
141:
138:
132:
130:
96:"Live migration"
89:
65:
57:
46:
24:
23:
16:
701:
700:
696:
695:
694:
692:
691:
690:
676:
675:
642:
637:
636:
627:
626:
622:
613:
612:
608:
601:
589:
588:
584:
575:
574:
570:
561:
560:
556:
547:
546:
542:
533:
532:
528:
519:
518:
514:
506:
502:
490:
489:
485:
480:
457:Virtual machine
453:
431:
404:
310:
293:
284:
271:
266:
258:
250:virtual machine
233:
222:
221:
220:
215:
204:
198:
195:
180:
168:
164:
153:
142:
136:
133:
90:
88:
78:
66:
25:
21:
12:
11:
5:
699:
697:
689:
688:
686:Virtualization
678:
677:
674:
673:
668:
663:
661:VMware VMotion
658:
653:
648:
641:
640:External links
638:
635:
634:
620:
606:
599:
582:
568:
554:
540:
526:
512:
507:Hines, et al,
500:
482:
481:
479:
476:
475:
474:
469:
464:
462:Self-migration
459:
452:
449:
448:
447:
442:
437:
430:
427:
426:
425:
420:
415:
410:
403:
400:
399:
398:
393:
388:
383:
376:
371:
368:
363:
358:
353:
348:
342:
337:
332:
327:
322:
316:
309:
306:
292:
289:
283:
280:
270:
269:Pre-copy phase
267:
265:
262:
257:
254:
242:, also called
240:Live migration
235:
234:
217:
216:
171:
169:
162:
155:
154:
69:
67:
60:
55:
29:
28:
26:
19:
13:
10:
9:
6:
4:
3:
2:
698:
687:
684:
683:
681:
672:
669:
667:
664:
662:
659:
657:
654:
652:
649:
647:
644:
643:
639:
630:
624:
621:
616:
610:
607:
602:
596:
592:
586:
583:
578:
572:
569:
564:
558:
555:
550:
544:
541:
536:
530:
527:
522:
516:
513:
510:
504:
501:
496:
495:
487:
484:
477:
473:
470:
468:
465:
463:
460:
458:
455:
454:
450:
446:
443:
441:
438:
436:
433:
432:
428:
424:
421:
419:
416:
414:
411:
409:
406:
405:
401:
397:
394:
392:
389:
387:
384:
381:
377:
375:
372:
369:
367:
364:
362:
359:
357:
354:
352:
349:
346:
343:
341:
338:
336:
333:
331:
328:
326:
323:
320:
317:
315:
312:
311:
307:
305:
301:
299:
290:
288:
281:
279:
276:
268:
263:
261:
255:
253:
251:
247:
246:
241:
231:
228:
213:
210:
202:
192:
188:
184:
178:
177:
172:This article
170:
161:
160:
151:
148:
140:
129:
126:
122:
119:
115:
112:
108:
105:
101:
98: –
97:
93:
92:Find sources:
86:
82:
76:
75:
70:This article
68:
64:
59:
58:
53:
51:
44:
43:
38:
37:
32:
27:
18:
17:
623:
609:
590:
585:
571:
557:
543:
529:
515:
503:
493:
486:
382:, since 2007
302:
294:
285:
272:
259:
243:
239:
238:
223:
205:
196:
173:
143:
134:
124:
117:
110:
103:
91:
79:Please help
74:verification
71:
47:
40:
34:
33:Please help
30:
418:CloudEndure
374:VMware ESXi
497:. NSDI'05.
478:References
391:VirtualBox
275:Hypervisor
183:improve it
107:newspapers
36:improve it
314:Virtuozzo
245:migration
187:verifying
42:talk page
680:Category
451:See also
408:Jelastic
199:May 2009
137:May 2009
435:OpenSSI
181:Please
121:scholar
597:
325:OpenVZ
123:
116:
109:
102:
94:
440:MOSIX
361:OVirt
128:JSTOR
114:books
595:ISBN
472:CRIU
378:IBM
100:news
345:KVM
319:Xen
185:by
83:by
682::
45:.
631:.
617:.
603:.
579:.
565:.
551:.
537:.
523:.
230:)
224:(
212:)
206:(
201:)
197:(
179:.
150:)
144:(
139:)
135:(
125:·
118:·
111:·
104:·
77:.
52:)
48:(
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.