[libvirt-users] Performance monotoring: Perf Event support

Daniel P. Berrange berrange at redhat.com
Wed Apr 26 14:49:19 UTC 2017

On Mon, Apr 24, 2017 at 06:54:32PM +0200, Hui Jing wrote:
> Hi everyone,
> I am using libvirt 2.5.0. I'd like to enable the "perf events" to
> monitoring my vm performance such as l3 cache. But it failed with "error:
> argument unsupported: unable to enable host cpu perf event for cmt".
> 1. Could you please give some hints on how to check if my host CPU supports
> cmt,mbm, is it displayed in /proc/cpuinfo?

It would be listed by 'virsh capabilities' as 'cmt', or in /proc/cpuinfo
as 'cqm'.

You need pretty particular CPU models too - many Intel models don't
support this even brand new ones.

> 2. Does the kernel version matters as well to support it?

Yes, but I don't recall which version

|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

More information about the libvirt-users mailing list