docs: add vpmu description to xen-command-line.markdown
PATCH 1/1 docs: add vpmu description to xen-command-line.markdown
# HG changeset patch
# User Dietmar Hahn <[email protected]> # Date 1335517766 -7200
# Node ID 9ba4e4a5f3b1b7dad77e2801afc0253d6d30d565 # Parent 107285938c50f82667bd4d014820b439a077c22c
Add a short description to the vpmu boot option in the xen-command-line.markdown
docs/misc/xen-command-line.markdown +21 -0
@@ -543,7 +543,28 @@ console even after dom0 has been started relinquish control to dom0. ### vpid + ### vpmu +> `= ( bts )` + +> Default: `off` + +Switch on the virtualized performance monitoring unit for HVM guests. + +If the current cpu isn't supported a message like +'VPMU: Initialization failed. ...' +is printed on the hypervisor serial log. + +For some Intel Nehalem processors a quirk handling exist for an unknown +wrong behaviour (see handle_pmc_quirk()). + +If 'vpmu=bts' is specified the virtualisation of the Branch Trace Store (BTS) +feature is switched on on Intel processors supporting this feature. + +*Warning:* +As the BTS virtualisation is not 100% safe and because of the nehalem quirk +don't use the vpmu flag on production systems with Intel cpus! + ### vti\_vhpt\_size ### vti\_vtlb\_size ### watchdog
Signature · 1 line
Company details: http://ts.fujitsu.com/imprint.html
Quoted 11 lines · Dietmar Hahn
# HG changeset patch
# User Dietmar Hahn <[email protected]> # Date 1335517766 -7200
# Node ID9ba4e4a5f3b1b7dad77e2801afc0253d6d30d565# Parent107285938c50f82667bd4d014820b439a077c22cAdd a short description to the vpmu boot option in the xen-command-line.markdown
Signed-off-by Dietmar Hahn <[email protected]>
Can't we just blacklist systems with the nehalem quirk and otherwise enable it?
Ian.
Quoted 36 lines
diff -r
107285938c50docs/misc/xen-command-line.markdowndocs/misc/xen-command-line.markdown +21
-0@@ -543,7 +543,28 @@ console even after dom0 has been started relinquish control to dom0. ### vpid + ### vpmu +> `= ( bts )` + +> Default: `off` + +Switch on the virtualized performance monitoring unit for HVM guests. + +If the current cpu isn't supported a message like +'VPMU: Initialization failed. ...' +is printed on the hypervisor serial log. + +For some Intel Nehalem processors a quirk handling exist for an unknown +wrong behaviour (see handle_pmc_quirk()). + +If 'vpmu=bts' is specified the virtualisation of the Branch Trace Store (BTS) +feature is switched on on Intel processors supporting this feature. + +*Warning:* +As the BTS virtualisation is not 100% safe and because of the nehalem quirk +don't use the vpmu flag on production systems with Intel cpus! + ### vti\_vhpt\_size ### vti\_vtlb\_size ### watchdog
Am Freitag 27 April 2012, 10:29:55 schrieb Ian Campbell:
Quoted 11 lines · Dietmar Hahn
Quoted 10 lines
# HG changeset patch
# User Dietmar Hahn <[email protected]> # Date 1335517766 -7200
# Node ID9ba4e4a5f3b1b7dad77e2801afc0253d6d30d565# Parent107285938c50f82667bd4d014820b439a077c22cAdd a short description to the vpmu boot option in the xen-command-line.markdown
Quoted 6 lines
Quoted 1 line
Signed-off-by Dietmar Hahn <[email protected]>Acked-by Ian Campbell <[email protected]>Can't we just blacklist systems with the nehalem quirk and otherwise enable it?
I'm not sure how to create a blacklist. The problem is, the processor models named in the check_pmc_quirk() function were found be doing some performance counter tests with machines accessible be me and looking what happens. As some other models may have the same PMU the hang may occur on other machines too.
Maybe we can change the policy to switch always on the vpmu stuff for the AMD cpus and enforce a flag for Intel?
Dietmar.
Quoted 37 lines
Ian.
Quoted 34 lines
diff -r
107285938c50docs/misc/xen-command-line.markdowndocs/misc/xen-command-line.markdown +21
-0@@ -543,7 +543,28 @@ console even after dom0 has been started relinquish control to dom0. ### vpid + ### vpmu +> `= ( bts )` + +> Default: `off` + +Switch on the virtualized performance monitoring unit for HVM guests. + +If the current cpu isn't supported a message like +'VPMU: Initialization failed. ...' +is printed on the hypervisor serial log. + +For some Intel Nehalem processors a quirk handling exist for an unknown +wrong behaviour (see handle_pmc_quirk()). + +If 'vpmu=bts' is specified the virtualisation of the Branch Trace Store (BTS) +feature is switched on on Intel processors supporting this feature. + +*Warning:* +As the BTS virtualisation is not 100% safe and because of the nehalem quirk +don't use the vpmu flag on production systems with Intel cpus! + ### vti\_vhpt\_size ### vti\_vtlb\_size ### watchdog
Signature · 1 line
Company details: http://ts.fujitsu.com/imprint.html
Ian Campbell writes ("Re: [Xen-devel] [PATCH] docs: add vpmu description to xen-command-line.markdown"):
Quoted 7 lines · Dietmar Hahn
Quoted 6 lines
# HG changeset patch
# User Dietmar Hahn <[email protected]> # Date 1335517766 -7200
# Node ID9ba4e4a5f3b1b7dad77e2801afc0253d6d30d565# Parent107285938c50f82667bd4d014820b439a077c22c
Quoted 7 lines
Quoted 5 lines
Add a short description to the vpmu boot option in the xen-command-line.markdown
Signed-off-by Dietmar Hahn <[email protected]>Acked-by Ian Campbell <[email protected]>
Thanks,