~/talk

Speed Up Creation of a VM With Pass Through GPU

Talkat KVM Forum 2020 · 2020-10-28..10-30· [web-performance]
name:Liang Li
links:none on file
slides:none on file

Claims specific kernel and QEMU patches that cut GPU pass-through VM creation from ~38s to 3.3s for 1 GPU 48GB and from ~120s to 4.4s for 4 GPUs 192GB (>95% reduction). Uses perf/flamegraphs to find hotspots and implements pre-zero free page, get_user_pages_contig/get_user_page_long_term, cached IOA mappings and IOA splitting, parallel PCI resets, and reverse-map skipping by counting. Patches land as RFCs and local benchmarks show large, reproducible speedups with modest compatibility caveats.

AI-written summary · about

  1. 0:00Intro
  2. 1:02AGENDA
  3. 1:37BACK GROUND
  4. 2:40BASE LINE DATA
  5. 3:50WHAT SLOW DOWN CREATION OF A GPUVM INSTANCE
  6. 5:22SPEED UP VFIO_PIN_PAGES_REMOTE
  7. 6:45PRE ZERO OUT FREE PAGES
  8. 7:50PIN MEMORY IN BULK
  9. 8:55MAKEVFIO DMA MAP MORE EFFICIENT
  10. 10:59PCI RESET OPTIMIZATION
  11. 12:19KVM META DATA OPTIMIZATION
  12. 14:33CONFIGURATION OPTIMIZATION
  13. 15:29EFFECT OF OPTIMIZATION
  14. 17:28CONCLUSION
~/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.