[ovirt-users] perf tool ?
Yaniv Kaul
ykaul at redhat.com
Thu May 25 07:56:24 UTC 2017
On Wed, May 24, 2017 at 5:12 PM, Fabrice Bacchella <
fabrice.bacchella at orange.fr> wrote:
> I'm playing with perf in vm and getting inconsistent result. But I wonder
> if it's a kvm, ovirt or hardware problem.
>
> On a ovirt's vm:
> $ sudo perf list | grep Hardware | wc -l
> 1
> $ lscpu
> ...
> Model name: Intel Core Processor (Haswell, no TSX)
>
> On another ovirt's vm:
> $ sudo perf list | grep Hardware | wc -l
> 27
> $ lscpu
> ...
> Model name: AMD Opteron 23xx (Gen 3 Class Opteron)
>
> On a libvirtm vm:
> sudo perf list | grep Hardware | wc -l
> 1
> lscpu
> ...
> Model name: Westmere E56xx/L56xx/X56xx (Nehalem-C)
> ...
>
> Look's like intel CPU don't expose hardware events. Is there an option on
> kvm or ovirt to help that ?
>
Perhaps you can try with a VDSM hook adding the relevant events[1] to the
libvirt XML?
Y.
[1] https://libvirt.org/formatdomain.html#elementsPerf
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170525/d3ff7e3a/attachment.html>
More information about the Users
mailing list