Show Table of Contents
2.2. 仮想パフォーマンスの監視ユニット (vPMU: Virtual Performance Monitoring Unit)
仮想パフォーマンスの監視ユニット (vPMU) は、ゲスト仮想マシンがどのように機能しているかを示す統計を表示します。
仮想パフォーマンス監視ユニットを使用すると、ユーザーはゲスト仮想マシン内の潜在的なパフォーマンス問題の出所を特定することができます。vPMU は Intel の PMU (Performance Monitoring Unit) をベースとしており、Intel マシンでのみ使用できます。
この機能は、Red Hat Enterprise Linux 6 または Red Hat Enterprise Linux 7 を実行するゲスト仮想マシンでのみサポートされ、デフォルトでは無効にされています。
vPMU がご使用のシステムでサポートされているかどうかを確認するには、以下を実行してホスト CPU 上で
arch_perfmon フラグをチェックします。
# cat /proc/cpuinfo|grep arch_perfmon
vPMU を有効にするには、ゲスト XML 内で
cpu mode を host-passthrough として指定します。
# virsh dumpxml guest_name |grep "cpu mode"
<cpu mode='host-passthrough'>
vPMU が有効にされた後に、ゲスト仮想マシンから
perf コマンドを実行して仮想マシンのパフォーマンス統計を表示します。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.