Search

2.2. Virtual Performance Monitoring Unit (vPMU)

download PDF
The virtual performance monitoring unit (vPMU) displays statistics which indicate how a guest virtual machine is functioning.
The virtual performance monitoring unit allows users to identify sources of possible performance problems in their guest virtual machines. The vPMU is based on Intel's PMU (Performance Monitoring Units) and can only be used on Intel machines.
This feature is only supported with guest virtual machines running Red Hat Enterprise Linux 6 or Red Hat Enterprise Linux 7 and is disabled by default.
To verify if the vPMU is supported on your system, check for the arch_perfmon flag on the host CPU by running:
# cat /proc/cpuinfo|grep arch_perfmon
To enable the vPMU, specify the cpu mode in the guest XML as host-passthrough:
# virsh dumpxml guest_name |grep "cpu mode"
<cpu mode='host-passthrough'>
After the vPMU is enabled, display a virtual machine's performance statistics by running the perf command from the guest virtual machine.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.