--Apple-Mail=_CED911C3-7C7E-410B-BE69-0AA7F08A6F09
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
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 ?
--Apple-Mail=_CED911C3-7C7E-410B-BE69-0AA7F08A6F09
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=us-ascii
<html><head><meta http-equiv=3D"Content-Type"
content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">I'm playing with perf in vm and getting inconsistent result.
=
But I wonder if it's a kvm, ovirt or hardware problem.<div
class=3D""><br =
class=3D""></div><div class=3D"">On a ovirt's
vm:</div><div =
class=3D""><div style=3D"margin: 0px; font-size: 11px; line-height:
=
normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">$
sudo =
perf list | grep Hardware | wc -l</span></div><div style=3D"margin:
0px; =
font-size: 11px; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures:
no-common-ligatures" =
class=3D"">1</span></div></div><div
style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">$
=
lscpu</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">...</span></div><div
class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D""><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures;" class=3D"">Model name:
=
Intel Core Processor (Haswell, no
TSX)</span></div><div =
class=3D""><span style=3D"font-variant-ligatures:
no-common-ligatures;" =
class=3D""><br
class=3D""></span></div></span></div><div
class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">On
=
another ovirt's vm:</span></div><div class=3D""><span
=
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D""><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">$ sudo perf list | grep Hardware | wc =
-l</span></div><div style=3D"margin: 0px; font-size: 11px;
line-height: =
normal; font-family: Menlo;" class=3D"">27</div><div
class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D""><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures;" class=3D"">$ lscpu</span></div><div
style=3D"margin:=
0px; font-size: 11px; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures:
no-common-ligatures;" =
class=3D"">...</span></div><div
class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures;" =
class=3D""></span></div></span></div><div
style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures:
no-common-ligatures;" =
class=3D"">Model name:
AMD =
Opteron 23xx (Gen 3 Class Opteron)</span></div><div
class=3D""><br =
class=3D""></div><div class=3D""><span
style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""><div style=3D"margin: 0px;
font-size: =
11px; line-height: normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">On
a =
libvirtm vm:</span></div><div style=3D"margin: 0px; font-size: 11px;
=
line-height: normal; font-family: Menlo;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D""><div =
style=3D"margin: 0px; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">sudo =
perf list | grep Hardware | wc -l</span></div><div style=3D"margin:
0px; =
line-height: normal;" class=3D"">1</div><div
style=3D"margin: 0px; =
line-height: normal;" class=3D""><div style=3D"margin: 0px;
line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">lscpu</span></div><div
style=3D"margin: =
0px; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">...</span></div></div><div
class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">Model =
name: Westmere =
E56xx/L56xx/X56xx (Nehalem-C)</span></div><div
class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">...</span></div><div
class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D""><br =
class=3D""></span></div><div class=3D""><span
=
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D"">Look's =
like intel CPU don't expose hardware events. Is there an option on kvm =
or ovirt to help that ?</span></div><div class=3D""><span
=
style=3D"font-variant-ligatures: no-common-ligatures"
class=3D""><br =
class=3D""></span></div></span></div></span></div></span></div></body></ht=
ml>=
--Apple-Mail=_CED911C3-7C7E-410B-BE69-0AA7F08A6F09--