Perf Support in Xen
summary
Enables Linux perf so PV guests and dom0 can profile themselves and dom0 can profile the hypervisor by reusing vPMU reuse to virtualize PMU register state, delivering interrupts that pass IP and registers to dom0 and using a new hypercall to reload counters; implements a global profiling mode that profiles guests and hypervisor but stage one has no sampling support and must pin vCPUs for accurate results. Works in demos but patches are not in mainline 4.4 and backtrace support for hypervisor is incomplete.
AI-written summary · about
chapters (8)
- 0:00Intro
- 1:36Methods for measuring performance
- 5:02Existing tools
- 11:07Highlevel design
- 15:51Limitations
- 18:42Enhancements
- 21:31Global mode
- 23:43Demo
related talks
43mEfficient Performance Profiling for Virtual Machines
37mAdvanced Performance Profiling Using Perf Tools
45mPerformance lab. The power of the perf tool!
59mBeyond pprof, Hardware Performance Counters
44mThink Outside the VM: Unobtrusive Performance Measurement
45mLinux perf tool metrics
45mPerf tools updates and beyond
26mHardware Assisted PMU Virtualization
