Bug 643478
| Summary: | [RFE] OProfile support for Intel Westmere processors | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | William Cohen <wcohen> |
| Component: | oprofile | Assignee: | William Cohen <wcohen> |
| Status: | CLOSED ERRATA | QA Contact: | qe-baseos-tools-bugs |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.1 | CC: | fnadge, jane.lv, jvillalo, luyu, pmuller, rdassen, rdoty, snagar |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | 6.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | oprofile-0.9.6-12.el6 | Doc Type: | Enhancement |
| Doc Text: |
Cause: The Intel Westmere processor has it own unique performance events sets in addition to the Intel architected performance events
Consequence: OProfile was limited to the Intel Architected events
Fix: Added code to identify the Intel Westmere processor and files listing the processor events
Result: OProfile now provides Intel Westmere specific events
|
Story Points: | --- |
| Clone Of: | 643476 | Environment: | |
| Last Closed: | 2011-05-19 13:06:41 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 643484 | ||
| Bug Blocks: | 492884, 580566 | ||
|
Description
William Cohen
2010-10-15 17:45:14 UTC
Patches to support westmere have been proposed for upstream oprofile user-space package: http://marc.info/?t=128923847600001&r=1&w=2 Please be so kind and add a few key words to the Technical Note field of this Bugzilla entry using the following structure: Cause: Consequence: Fix: Result: For details, see: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thanks
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause:
Consequence:
Fix:
Result:
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,7 +1,7 @@
-Cause:
+Cause: The Intel Westmere processor has it own unique performance events sets in addition to the Intel architected performance events
-Consequence:
+Consequence: OProfile was limited to the Intel Architected events
-Fix:
+Fix: Added code to identify the Intel Westmere processor and files listing the processor events
-Result:+Result: OProfile now provides Intel Westmere specific events
Just now attempted to validate this on a Westmere-EP system and failed. # cat /proc/cpu_info <snip> cpu family : 6 model : 44 model name : Intel(R) Xeon(R) CPU X5660 @ 2.80GHz stepping : 1 <snip> # opcontrol -l oprofile: available events for CPU type "Intel Architectural Perfmon" # rpm -q oprofile oprofile-0.9.6-11.el6.x86_64 An upstream patch for this has been suggested on the oprofile mailing list: http://marc.info/?l=oprofile-list&m=129847950817265&w=2 Moving this to ASSIGNED, oprofile should respin for this one. The patch for the missing cpu models has been added to oprofile-0.9.6-12 Yes. Sorry for the noise. cpu family : 6 model : 44 model name : Intel(R) Xeon(R) CPU X5670 @ 2.93GHz # diff -u ophelp-r.oprofile-0.9.6-7.el6.x86_64 ophelp-r.oprofile-0.9.6-12.el6.x86_64 --- ophelp-r.oprofile-0.9.6-7.el6.x86_64 2011-03-15 12:09:19.339289854 -0400 +++ ophelp-r.oprofile-0.9.6-12.el6.x86_64 2011-03-15 12:09:43.757287207 -0400 @@ -1 +1 @@ -Intel Architectural Perfmon +Intel Westmere microarchitecture # diff -u ophelp.oprofile-0.9.6-7.el6.x86_64 ophelp.oprofile-0.9.6-12.el6.x86_64 | diffstat ophelp.oprofile-0.9.6-12.el6.x86_64 | 605 +++++++++++++++++++++++++++++++++++- 1 file changed, 601 insertions(+), 4 deletions(-) # diff -u ophelp.oprofile-0.9.6-7.el6.x86_64 ophelp.oprofile-0.9.6-12.el6.x86_64 --- ophelp.oprofile-0.9.6-7.el6.x86_64 2011-03-15 12:09:31.117321980 -0400 +++ ophelp.oprofile-0.9.6-12.el6.x86_64 2011-03-15 12:09:45.964312711 -0400 @@ -1,8 +1,8 @@ -oprofile: available events for CPU type "Intel Architectural Perfmon" +oprofile: available events for CPU type "Intel Westmere microarchitecture" + +See Intel Architecture Developer's Manual Volume 3B, Appendix A and +Intel Architecture Optimization Reference Manual (730795-001) -See Intel 64 and IA-32 Architectures Software Developer's Manual -Volume 3B (Document 253669) Chapter 18 for architectural perfmon events -This is a limited set of fallback events because oprofile doesn't know your CPU <snipped events additions> An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0566.html |