Overview
M3U examines why post-copy live migration remains disruptive for high-end VMs even after it avoids pre-copy's convergence race. The series traces QEMU and userfaultfd's missing-page path, isolates switching-time registration, cross-table page installation, granularity, and device-fault bottlenecks, then explains page flagging, decoupled copying, mixed page sizes, and device-state pre-installation. Measurements support substantial gains in the evaluated prototype, but applicability remains conditional on its hardware, software, workloads, device paths, and post-copy failure boundary.
Learning outcomes
- High-end post-copy exposes serialized memory-management work after escaping pre-copy convergence.
- Page flagging and regional ownership reduce switching work by retaining physical placement while changing guest visibility.
- PVA copying, mixed granularity, and a dedicated updater improve recovery without removing cross-table consistency work.
- Device-state pre-installation reduces tested IOPFs, but scalability remains conditional on deployment and failure assumptions.
Keywords
Preview every chapter · Unlock full text, audio, and video from chapter 4
PlansFAQ
Why can post-copy live migration help high-end VMs?
Post-copy stops the source from creating new dirty pages, replacing pre-copy's convergence race with finite recovery of missing memory. The destination still depends on timely page service and a live recovery path.
What bottlenecks does M3U target?
M3U targets switching-time dirty-page registration, cross-table page installation and granularity conflicts, and pass-through I/O faults. These costs appear in different migration phases and need different remedies.
How does M3U reduce post-copy memory overhead?
M3U retains physical placement, flags missing pages, separates PVA data copying from HPT, EPT, and IOPT updates, and uses 4 KB demand faults with 2 MB-oriented bulk transfer.
How does M3U reduce pass-through I/O faults?
M3U pre-installs predictable VirtIO queue and descriptor state before resumption, reducing the tested IOPF count by up to 98.5%. A residual guest queue-timing race can still produce faults.
Does M3U make post-copy migration universally reliable?
No. M3U improves measured performance in its evaluated prototype, but post-copy retains a split-state failure boundary and depends on compatible hardware, software, device paths, workloads, and recovery handling.