~/talk

How Fast Can We Go? Booting a Linux VM to Userspace in 100ms and Beyond

Talkat KVM Forum 2022 · 2022-09-12..09-14· [linux-and-operating-systems]
links:none on file
slides:none on file

Claims a Linux VM boots to userspace in 100ms and reports 64 ms achieved on a modern desktop; measurement uses a guest-triggered PIO to a debug I/O port plus VMM logs, perf and custom tracing. Key fixes: remove serial PIO exits by switching to virtio-console, add quiet kernel cmdline, use pmem or 2MB huge pages (1GB hugepages hurts), reduce PCI probing via MCFG tuning, asynchronous kernel load and optimized PCI I/O fastpath. Some kernels and THP break results; disabling networking reaches sub-50ms.

AI-written summary · about

  1. 0:00Start
  2. 2:15Motivation
  3. 3:25How to define boot time
  4. 4:17Measuring boot time
  5. 10:10Unexpected plot twist
  6. 11:49Optimised VM config
  7. 12:29What about THP?
  8. 13:12Cloud Hypervisor: History
  9. 14:10Cloud Hypervisor: Key optimisations
  10. 16:05PCI I/O Port Fast Path
  11. 16:50Tracing: Async kernel loading
  12. 18:50Cloud Hypervisor: Monitoring
  13. 20:22What happened?
  14. 20:53Below 50ms
  15. 22:16Summary
~/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.