~/talk

KVM Dirty Page Tracking

Talkat KVM Forum 2021 · 2021-09-15..09-16· [web-performance]
name:Peter Xu
links:none on file
slides:none on file

Explains that KVM uses synchronous and asynchronous dirty tracking for snapshots and migration and reports concrete measurements: migrating a 3 TB guest with a 100 MB bitmap shows bitmap copying costing 200 ms and using atomic compare-exchange to copy bitmaps is about 3x slower than memcpy (up to 8x in L1), so performance pain comes from many bitmap layers and atomic memory bus locking. Proposes reducing bitmap layers, avoid atomics for bulk copy by taking a read‑write lock, and using dirty ring, clear log and zero‑copy IO to scale huge VM migration.

AI-written summary · about

  1. 0:00Introduction
  2. 0:17What is Dirty Page Tracking
  3. 1:09Synchronous Dirty Tracking
  4. 3:36Asynchronous Dirty Tracking
  5. 7:48Huge VM Migrations
  6. 10:20Summary
  7. 12:24Downtime
  8. 19:04Atomic operations
  9. 20:28Cache mis
  10. 21:25KVM solution
  11. 23:02QML solution
~/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.