~/talk

Efficient Performance Profiling for Virtual Machines

Talkat Open Source Summit India 2026 · on Tuesday, 2026-06-16· at 17:40· Lotus Ballroom 3 (Level 3)· [observability]
links:none on file
slides:none on file

Mediated PMU in KVM (merged in Linux 7.0 mediated PMU) gives guests direct access to hardware PMU registers with mutual exclusion so profiling accuracy matches bare metal while cutting VM exits dramatically — a top‑down example shows 74→22 VM exits and a periodic dashboard case shows 49→6 VM exits. Trade-offs: hypervisor must do PMU save/restore on VM entry/exit (some CPU generations offload this) and the host loses perf snooping of guest workloads.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Hardware counters in Linux
  3. 4:38Perf event subsystem
  4. 7:05Profiling KVM guests
  5. 11:22Mediated PMU for KVM
  6. 14:51Mediated PMU benefits
  7. 18:49Mediated PMU trade-offs
  8. 20:14Future optimizations
  9. 21:59Development journey
  10. 23:22Q&A
  11. 23:47WSL profiling reliability
  12. 26:17Mediated PMU status
  13. 27:04Tracing atomic ops in KVM
  14. 28:49Counter allocation in guests
  15. 30:14Mediated PMU for ARM/RISC-V
  16. 31:37Multi-guest performance impact
  17. 32:37Nested virtualization status
  18. 34:00Mediated PMU hardware needs
  19. 36:31Perf KVM and confidential compute
  20. 37:57Counter encryption security
  21. 38:17NMI watchdog trade-offs
  22. 40:49Host-guest counter partitioning
~/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.