~/talk

Postcopy Preemption

Talkat KVM Forum 2022 · 2022-09-12..09-14· [devops-and-delivery]
name:Peter Xu
links:none on file
slides:none on file

Introduces QEMU postcopy preemption, which adds a dedicated urgent-page channel, a fast page-resolve thread and per-channel page ownership so urgent requests interrupt background transfers; requires both source and destination to enable and is not compatible with vanilla postcopy. Implements buffering changes to avoid blocking on whole huge-page copies (discussion includes hugetlbfs mapping granularity) and leverages postcopy recovery. Shows measurements: vanilla postcopy averages ~12 ms per page request, preemption reduces that to ~229 µs (≈50×), part of the work lands in QEMU 7.1 and an RFC covers remaining patches.

AI-written summary · about

  1. 0:00OUTLINES
  2. 0:55WHAT IS POSTCOPY?
  3. 1:44WHAT IS POSTCOPY PREEMPTION?
  4. 3:50LIVE MIGRATION (PRECOPY)
  5. 8:35POSTCOPY LIMITATIONS
  6. 12:41BACKGROUND PAGE FLUSH
  7. 15:37CHANNEL SEPARATION
  8. 16:29HUGE PAGE GRANULE
  9. 19:04HUGE PAGE PREEMPTIONS
  10. 19:54MIGRATION THREAD ITSELF!
  11. 22:17???
  12. 26:34PERFORMANCE NUMBERS
  13. 27:53DISTRIBUTIONS OF LATENCIES
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.