~/talk

"Enlightening" KVM: Hyper-V emulation

Talkat DevConf.CZ 2019 · 2019-01-25..01-27· [linux-and-operating-systems]
links:none on file
slides:none on file

KVM implements Hyper-V emulation and a set of specific enlightenments that materially speed Windows guests via QEMU and libvirt changes and kernel MSR hooks. Key results: the Hyper-V clock goes from ~17,000 cycles to ~400 cycles, a nested CPUID loop drops from ~21,000 to ~19,500 cycles (~10% gain), and idle Windows CPU consumption that spiked to ~30% is eliminated by synthetic timers. Most patches are upstream, HV_ALL enables them selectively, and direct synthetic timers are pending on the mailing list.

AI-written summary · about

  1. 0:00Introduction
  2. 0:29What is KVM
  3. 0:52Linux on KVM
  4. 1:13Why does it happen
  5. 1:30How to solve it
  6. 2:02Writing drivers
  7. 2:15Clock soars
  8. 2:34HyperV
  9. 4:12Overview
  10. 4:28Relaxed Timing
  11. 5:34Virtual Epoch
  12. 7:33Virtualized Spinlocks
  13. 9:30Virtual Processor Index
  14. 10:11Runtime Information
  15. 11:06Crash Information
  16. 12:05HyperV Clock
  17. 12:55Synthetic Interrupt Controller
  18. 13:30Synthetic Timers
  19. 14:37TLB Buffer
  20. 15:30Paravirtualized API
  21. 16:02Vendors
  22. 16:28HP Reset
  23. 16:45Nested environments
  24. 17:03Clocks
  25. 18:06Enlighten VMC
  26. 18:48Direct Synthetic Timers
  27. 19:45Clock Stores
  28. 20:24Over Committed
  29. 22:38Windows Server 2016
~/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.