Profile Targets on a KVM* Guest System
Configure the
Intel® VTune™
to analyze performance on a KVM guest system.
Profiler
Performance analysis for the host and virtual machine(s) in cloud environments helps identify such issues as resource contention (for example, CPU/vCPU time) and network/IO activity.
VTune
uses Perf*-based driverless collection to enable performance analysis of the guest Linux* operating system via Kernel-based Virtual Machine (KVM) from the host system.
Profiler
Unlike other virtual machine systems, systems using KVM on a Linux* host to access a Linux guest can have
VTune
installed on either the host system to analyze performance on the guest system or installed directly on the guest system to analyze the guest system. Additional information about installing
Profiler
VTune
is available from the Linux installation guides.
Profiler
Depending on your analysis target, you may choose any of the supported usage modes for KVM guest OS profiling.
Profiling Modes
Currently, the
VTune
supports the following usage modes for KVM guest OS profiling, and each of them has some limitations:
Profiler
Profiling System
| KVM Guest OS (User Apps)
| KVM Guest OS (User and Kernel Space)
| Host and KVM Guest OS (User and Kernel Space)
(preview feature)
|
---|---|---|---|
Supported analysis | User-mode sampling: Hotspots and Threading
| Event-based sampling: Hotspots and limited Microarchitecture Exploration
| Event-based sampling: all types with accurate attribution of user-space activity to the user processes on the guest
|
Target type | Applications in the Launch and Attach modes
|
| System-wide analysis (host and guest OS)
|
VTune
installation mode Profiler | On the guest OS
| On the guest OS
| On the host and guest OS ( VTune
custom collector)
Profiler |
Limitations | No system-wide analysis for user-mode sampling
|
|
|
Configuration | PMU event virtualization required for Event-based sampling
| Analyze KVM guest OS option
|