From: Villalovos, J. L <joh...@in...> - 2011-04-05 16:09:33
|
William Cohen wrote: > On 03/31/2011 11:35 AM, John Villalovos wrote: >> Patch to add the CPUID for Westmere-EX processors. Also added >> comments to indicate which CPU models are which Westmere processors. >> >> This patch will allow Oprofile to recognize Westmere-EX processors >> as Westmere. >> >> Signed-off-by: John L. Villalovos <joh...@in...> >> >> diff --git a/libop/op_hw_specific.h b/libop/op_hw_specific.h >> index 4b4d55a..f1d67a5 100644 >> --- a/libop/op_hw_specific.h >> +++ b/libop/op_hw_specific.h >> @@ -113,8 +113,9 @@ static inline op_cpu op_cpu_specific_type(op_cpu >> cpu_type) return CPU_CORE_I7; case 0x1c: >> return CPU_ATOM; >> - case 0x25: >> - case 0x2c: >> + case 0x25: /* Westmere mobile/desktop/entry level server */ >> + case 0x2c: /* Westmere-EP (Intel Xeon 5600 series) */ >> + case 0x2f: /* Westmere-EX */ >> return CPU_WESTMERE; >> } >> } >> > > Hi John, > > The patch looks pretty straightforward. Assuming that the Westmere-EX > has the same core as the other Westmere processor but has different > uncore hardware, it should be okay. Is there some documentation that > include information about the Westmere-EX so we can verify that the > Westmere-EX has the same core events as other Westmere processors? At this time the documentation hasn't been released in the Software Developer's Manual. But Page C-4 of the Intel 64 and IA-32 Architectures Optimization Reference Manual states, "Intel microarchitecture code name Westmere are represented by 06_25H, 06_2CH and 06_2FH." But don't have the detailed performance documentation available yet. John --- Intel on-site partner engineer at Red Hat, Inc. |