Can PAPI support Intel Nehalem (Core i7) Gulftown?

Open discussion of PAPI.

Can PAPI support Intel Nehalem (Core i7) Gulftown?

Postby Jie Jiang » Wed Feb 10, 2010 12:28 am

Hi Dan,

Recently I'm testing PAPI (3.7.x, and also 4.0) on Linux/Intel Nehalem(Core i7) Gulftown processor(6 core).
The kernel has been patched with perfctr that supports Gulftwon(by getting patch from Mikael Pettersson).
But papi utils(papi_avail, papi_native_avail, papi_mem_info) return some messages and most events are not supported.
Also the information returned by papi_mem_info does not match the system configuration.

PAPI 3.7.x works well on Linux/4-core Nehalem.
And 6-core Gulftown is not much different from 4-core EP.
What's the reason?

The detailed outputs are attached.

#uname -a
Linux node2 2.6.27-perfctr.6core #1 SMP Sat Jan 9 17:21:04 CST 2010 x86_64 x86_64 x86_64 GNU/Linux
#cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Genuine Intel(R) CPU 000 @ 2.67GHz
stepping : 0
cpu MHz : 2668.000
cache size : 12288 KB
physical id : 1
siblings : 12
core id : 0
cpu cores : 6
apicid : 32
initial apicid : 32
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr dca sse4_1 sse4_2 popcnt lahf_lm ida
bogomips : 5333.46
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Genuine Intel(R) CPU 000 @ 2.67GHz
stepping : 0
cpu MHz : 2668.000
cache size : 12288 KB
physical id : 1
siblings : 12
core id : 1
cpu cores : 6
apicid : 34
initial apicid : 34
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr dca sse4_1 sse4_2 popcnt lahf_lm ida
bogomips : 5333.16
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
........
........
processor : 22
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Genuine Intel(R) CPU 000 @ 2.67GHz
stepping : 0
cpu MHz : 2668.000
cache size : 12288 KB
physical id : 0
siblings : 12
core id : 9
cpu cores : 6
apicid : 19
initial apicid : 19
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr dca sse4_1 sse4_2 popcnt lahf_lm ida
bogomips : 5333.23
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 23
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Genuine Intel(R) CPU 000 @ 2.67GHz
stepping : 0
cpu MHz : 2668.000
cache size : 12288 KB
physical id : 0
siblings : 12
core id : 10
cpu cores : 6
apicid : 21
initial apicid : 21
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr dca sse4_1 sse4_2 popcnt lahf_lm ida
bogomips : 5333.23
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

#perfex -i
PerfCtr Info:
abi_version 0x05020501
driver_version 2.6.39 DEBUG
cpu_type 21 (Intel Core i7)
cpu_features 0x7 (rdpmc,rdtsc,pcint)
cpu_khz 2666733
tsc_to_cpu_mult 1
cpu_nrctrs 7
cpus [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23], total: 24
cpus_forbidden [], total: 0

#papi_version
PAPI Version: 3.7.0.0

#papi_avail

PAPI Error: pfm_find_full_event(L1I:MISSES,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L1I:READS,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L1I:HITS,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L1D_ALL_REF:ANY,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:MISS,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCH_MISS,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCH_MISS,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:MISS,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L2_DATA_RQSTS:ANY,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:LOADS,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCHES,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCH_HIT,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCHES,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:REFERENCES,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:MISS,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:REFERENCES,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:LOADS,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(ITLB_MISSES:ANY,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(DTLB_MISSES:ANY,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(ITLB_MISSES:ANY,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(DTLB_MISSES:ANY,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:TAKEN,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:ANY,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:TAKEN,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:ANY,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(BR_MISP_EXEC:ANY,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:COND,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:DIRECT,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:COND,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(BR_MISP_EXEC:COND,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(MACRO_INSTS:DECODED,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(RESOURCE_STALLS:ANY,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_SINGLE_PRECISION:SSE_DOUBLE_PRECISION,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_SINGLE_PRECISION,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP_PACKED,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_DOUBLE_PRECISION,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP_PACKED,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP_PACKED,0x7fff9a576e90): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP_PACKED,0x7fff9a576e90): event not found.
PAPI Error: 32 of 34 events in perfmon_events.csv were not valid.
Available events and hardware information.
--------------------------------------------------------------------------------
PAPI Version : 3.7.0.0
Vendor string and code : GenuineIntel (1)
Model string and code : Intel Core i7 (21)
CPU Revision : 0.000000
CPU Megahertz : 2668.000000
CPU Clock Megahertz : 2668
CPU's in this Node : 24
Nodes in this System : 1
Total CPU's : 24
Number Hardware Counters : 7
Max Multiplex Counters : 32
--------------------------------------------------------------------------------
The following correspond to fields in the PAPI_event_info_t structure.

Name Code Avail Deriv Description (Note)
PAPI_L1_DCM 0x80000000 No No Level 1 data cache misses
PAPI_L1_ICM 0x80000001 No No Level 1 instruction cache misses
PAPI_L2_DCM 0x80000002 No No Level 2 data cache misses
PAPI_L2_ICM 0x80000003 No No Level 2 instruction cache misses
PAPI_L3_DCM 0x80000004 No No Level 3 data cache misses
PAPI_L3_ICM 0x80000005 No No Level 3 instruction cache misses
PAPI_L1_TCM 0x80000006 No No Level 1 cache misses
PAPI_L2_TCM 0x80000007 No No Level 2 cache misses
PAPI_L3_TCM 0x80000008 No No Level 3 cache misses
PAPI_CA_SNP 0x80000009 No No Requests for a snoop
PAPI_CA_SHR 0x8000000a No No Requests for exclusive access to shared cache line
PAPI_CA_CLN 0x8000000b No No Requests for exclusive access to clean cache line
PAPI_CA_INV 0x8000000c No No Requests for cache line invalidation
PAPI_CA_ITV 0x8000000d No No Requests for cache line intervention
PAPI_L3_LDM 0x8000000e No No Level 3 load misses
PAPI_L3_STM 0x8000000f No No Level 3 store misses
PAPI_BRU_IDL 0x80000010 No No Cycles branch units are idle
PAPI_FXU_IDL 0x80000011 No No Cycles integer units are idle
PAPI_FPU_IDL 0x80000012 No No Cycles floating point units are idle
PAPI_LSU_IDL 0x80000013 No No Cycles load/store units are idle
PAPI_TLB_DM 0x80000014 No No Data translation lookaside buffer misses
PAPI_TLB_IM 0x80000015 No No Instruction translation lookaside buffer misses
PAPI_TLB_TL 0x80000016 No No Total translation lookaside buffer misses
PAPI_L1_LDM 0x80000017 No No Level 1 load misses
PAPI_L1_STM 0x80000018 No No Level 1 store misses
PAPI_L2_LDM 0x80000019 No No Level 2 load misses
PAPI_L2_STM 0x8000001a No No Level 2 store misses
PAPI_BTAC_M 0x8000001b No No Branch target address cache misses
PAPI_PRF_DM 0x8000001c No No Data prefetch cache misses
PAPI_L3_DCH 0x8000001d No No Level 3 data cache hits
PAPI_TLB_SD 0x8000001e No No Translation lookaside buffer shootdowns
PAPI_CSR_FAL 0x8000001f No No Failed store conditional instructions
PAPI_CSR_SUC 0x80000020 No No Successful store conditional instructions
PAPI_CSR_TOT 0x80000021 No No Total store conditional instructions
PAPI_MEM_SCY 0x80000022 No No Cycles Stalled Waiting for memory accesses
PAPI_MEM_RCY 0x80000023 No No Cycles Stalled Waiting for memory Reads
PAPI_MEM_WCY 0x80000024 No No Cycles Stalled Waiting for memory writes
PAPI_STL_ICY 0x80000025 No No Cycles with no instruction issue
PAPI_FUL_ICY 0x80000026 No No Cycles with maximum instruction issue
PAPI_STL_CCY 0x80000027 No No Cycles with no instructions completed
PAPI_FUL_CCY 0x80000028 No No Cycles with maximum instructions completed
PAPI_HW_INT 0x80000029 No No Hardware interrupts
PAPI_BR_UCN 0x8000002a No No Unconditional branch instructions
PAPI_BR_CN 0x8000002b No No Conditional branch instructions
PAPI_BR_TKN 0x8000002c No No Conditional branch instructions taken
PAPI_BR_NTK 0x8000002d No No Conditional branch instructions not taken
PAPI_BR_MSP 0x8000002e No No Conditional branch instructions mispredicted
PAPI_BR_PRC 0x8000002f No No Conditional branch instructions correctly predicted
PAPI_FMA_INS 0x80000030 No No FMA instructions completed
PAPI_TOT_IIS 0x80000031 No No Instructions issued
PAPI_TOT_INS 0x80000032 Yes No Instructions completed
PAPI_INT_INS 0x80000033 No No Integer instructions
PAPI_FP_INS 0x80000034 No No Floating point instructions
PAPI_LD_INS 0x80000035 No No Load instructions
PAPI_SR_INS 0x80000036 No No Store instructions
PAPI_BR_INS 0x80000037 No No Branch instructions
PAPI_VEC_INS 0x80000038 No No Vector/SIMD instructions (could include integer)
PAPI_RES_STL 0x80000039 No No Cycles stalled on any resource
PAPI_FP_STAL 0x8000003a No No Cycles the FP unit(s) are stalled
PAPI_TOT_CYC 0x8000003b Yes No Total cycles
PAPI_LST_INS 0x8000003c No No Load/store instructions completed
PAPI_SYC_INS 0x8000003d No No Synchronization instructions completed
PAPI_L1_DCH 0x8000003e No No Level 1 data cache hits
PAPI_L2_DCH 0x8000003f No No Level 2 data cache hits
PAPI_L1_DCA 0x80000040 No No Level 1 data cache accesses
PAPI_L2_DCA 0x80000041 No No Level 2 data cache accesses
PAPI_L3_DCA 0x80000042 No No Level 3 data cache accesses
PAPI_L1_DCR 0x80000043 No No Level 1 data cache reads
PAPI_L2_DCR 0x80000044 No No Level 2 data cache reads
PAPI_L3_DCR 0x80000045 No No Level 3 data cache reads
PAPI_L1_DCW 0x80000046 No No Level 1 data cache writes
PAPI_L2_DCW 0x80000047 No No Level 2 data cache writes
PAPI_L3_DCW 0x80000048 No No Level 3 data cache writes
PAPI_L1_ICH 0x80000049 No No Level 1 instruction cache hits
PAPI_L2_ICH 0x8000004a No No Level 2 instruction cache hits
PAPI_L3_ICH 0x8000004b No No Level 3 instruction cache hits
PAPI_L1_ICA 0x8000004c No No Level 1 instruction cache accesses
PAPI_L2_ICA 0x8000004d No No Level 2 instruction cache accesses
PAPI_L3_ICA 0x8000004e No No Level 3 instruction cache accesses
PAPI_L1_ICR 0x8000004f No No Level 1 instruction cache reads
PAPI_L2_ICR 0x80000050 No No Level 2 instruction cache reads
PAPI_L3_ICR 0x80000051 No No Level 3 instruction cache reads
PAPI_L1_ICW 0x80000052 No No Level 1 instruction cache writes
PAPI_L2_ICW 0x80000053 No No Level 2 instruction cache writes
PAPI_L3_ICW 0x80000054 No No Level 3 instruction cache writes
PAPI_L1_TCH 0x80000055 No No Level 1 total cache hits
PAPI_L2_TCH 0x80000056 No No Level 2 total cache hits
PAPI_L3_TCH 0x80000057 No No Level 3 total cache hits
PAPI_L1_TCA 0x80000058 No No Level 1 total cache accesses
PAPI_L2_TCA 0x80000059 No No Level 2 total cache accesses
PAPI_L3_TCA 0x8000005a No No Level 3 total cache accesses
PAPI_L1_TCR 0x8000005b No No Level 1 total cache reads
PAPI_L2_TCR 0x8000005c No No Level 2 total cache reads
PAPI_L3_TCR 0x8000005d No No Level 3 total cache reads
PAPI_L1_TCW 0x8000005e No No Level 1 total cache writes
PAPI_L2_TCW 0x8000005f No No Level 2 total cache writes
PAPI_L3_TCW 0x80000060 No No Level 3 total cache writes
PAPI_FML_INS 0x80000061 No No Floating point multiply instructions
PAPI_FAD_INS 0x80000062 No No Floating point add instructions
PAPI_FDV_INS 0x80000063 No No Floating point divide instructions
PAPI_FSQ_INS 0x80000064 No No Floating point square root instructions
PAPI_FNV_INS 0x80000065 No No Floating point inverse instructions
PAPI_FP_OPS 0x80000066 No No Floating point operations
PAPI_SP_OPS 0x80000067 No No Floating point operations; optimized to count scaled single precision vector operations
PAPI_DP_OPS 0x80000068 No No Floating point operations; optimized to count scaled double precision vector operations
PAPI_VEC_SP 0x80000069 No No Single precision vector/SIMD instructions
PAPI_VEC_DP 0x8000006a No No Double precision vector/SIMD instructions
-------------------------------------------------------------------------
Of 107 possible events, 2 are available, of which 0 are derived.

avail.c PASSED

#papi_native_avail

PAPI Error: pfm_find_full_event(L1I:MISSES,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L1I:READS,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L1I:HITS,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L1D_ALL_REF:ANY,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:MISS,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCH_MISS,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCH_MISS,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:MISS,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L2_DATA_RQSTS:ANY,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:LOADS,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCHES,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCH_HIT,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCHES,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:REFERENCES,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:MISS,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:REFERENCES,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:LOADS,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(ITLB_MISSES:ANY,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(DTLB_MISSES:ANY,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(ITLB_MISSES:ANY,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(DTLB_MISSES:ANY,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:TAKEN,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:ANY,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:TAKEN,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:ANY,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(BR_MISP_EXEC:ANY,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:COND,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:DIRECT,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:COND,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(BR_MISP_EXEC:COND,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(MACRO_INSTS:DECODED,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(RESOURCE_STALLS:ANY,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_SINGLE_PRECISION:SSE_DOUBLE_PRECISION,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_SINGLE_PRECISION,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP_PACKED,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_DOUBLE_PRECISION,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP_PACKED,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP_PACKED,0x7fff298bc250): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP_PACKED,0x7fff298bc250): event not found.
PAPI Error: 32 of 34 events in perfmon_events.csv were not valid.
Available native events and hardware information.
--------------------------------------------------------------------------------
PAPI Version : 3.7.0.0
Vendor string and code : GenuineIntel (1)
Model string and code : Intel Core i7 (21)
CPU Revision : 0.000000
CPU Megahertz : 2668.000000
CPU Clock Megahertz : 2668
CPU's in this Node : 24
Nodes in this System : 1
Total CPU's : 24
Number Hardware Counters : 7
Max Multiplex Counters : 32
--------------------------------------------------------------------------------
The following correspond to fields in the PAPI_event_info_t structure.

Event Code Symbol | Long Description |
--------------------------------------------------------------------------------
0x40000000 UNHALTED_CORE_CYCLES | count core clock cycles whenever the cloc |
| k signal on the specific core is running (not halted) |
--------------------------------------------------------------------------------
0x40000001 INSTRUCTIONS_RETIRED | count the number of instructions at retir |
| ement. For instructions that consists of multiple micro-ops, this |
| event counts the retirement of the last micro-op of the instruct |
| ion |
--------------------------------------------------------------------------------
0x40000002 LAST_LEVEL_CACHE_REFERENCES | count each request originating fro |
| m the core to reference a cache line in the last level cache. The |
| count may include speculation, but excludes cache line fills due |
| to hardware prefetch |
--------------------------------------------------------------------------------
0x40000003 LAST_LEVEL_CACHE_MISSES | count each cache miss condition for re |
| ferences to the last level cache. The event count may include spe |
| culation, but excludes cache line fills due to hardware prefetch |
--------------------------------------------------------------------------------
0x40000004 BRANCH_INSTRUCTIONS_RETIRED | count branch instructions at retir |
| ement. Specifically, this event counts the retirement of the last |
| micro-op of a branch instruction |
--------------------------------------------------------------------------------
0x40000005 MISPREDICTED_BRANCH_RETIRED | count mispredicted branch instruct |
| ions at retirement. Specifically, this event counts at retirement |
| of the last micro-op of a branch instruction in the architectura |
| l path of the execution and experienced misprediction in the bran |
| ch prediction hardware |
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Total events reported: 6
native_avail.c PASSED

#papi_mem_info
PAPI Error: pfm_find_full_event(L1I:MISSES,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L1I:READS,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L1I:HITS,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L1D_ALL_REF:ANY,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:MISS,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCH_MISS,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCH_MISS,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:MISS,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L2_DATA_RQSTS:ANY,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:LOADS,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCHES,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCH_HIT,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:IFETCHES,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:REFERENCES,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:MISS,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:REFERENCES,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(L2_RQSTS:LOADS,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(ITLB_MISSES:ANY,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(DTLB_MISSES:ANY,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(ITLB_MISSES:ANY,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(DTLB_MISSES:ANY,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:TAKEN,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:ANY,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:TAKEN,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:ANY,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(BR_MISP_EXEC:ANY,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:COND,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:DIRECT,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(BR_INST_EXEC:COND,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(BR_MISP_EXEC:COND,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(MACRO_INSTS:DECODED,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(RESOURCE_STALLS:ANY,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_SINGLE_PRECISION:SSE_DOUBLE_PRECISION,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_SINGLE_PRECISION,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP_PACKED,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_DOUBLE_PRECISION,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP_PACKED,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP_PACKED,0x7fffd8ef50e0): event not found.
PAPI Error: pfm_find_full_event(FP_COMP_OPS_EXE:SSE_FP_PACKED,0x7fffd8ef50e0): event not found.
PAPI Error: 32 of 34 events in perfmon_events.csv were not valid.
Memory Cache and TLB Hierarchy Information.
------------------------------------------------------------------------
TLB Information.
There may be multiple descriptors for each level of TLB
if multiple page sizes are supported.

L1 Instruction TLB:
Page Size: 2048 KB
Number of Entries: 7
Associativity: Full

L1 Instruction TLB:
Page Size: 4096 KB
Number of Entries: 7
Associativity: Full

L1 Data TLB:
Page Size: 4 KB
Number of Entries: 64
Associativity: 4

L1 Data TLB:
Page Size: 2048 KB
Number of Entries: 32
Associativity: 4

L1 Data TLB:
Page Size: 4096 KB
Number of Entries: 32
Associativity: 4

L1 Instruction TLB:
Page Size: 4 KB
Number of Entries: 64
Associativity: 4

L2 Unified TLB:
Page Size: 4 KB
Number of Entries: 512
Associativity: 4


Cache Information.

mem_info.c PASSED
Jie Jiang
 
Posts: 2
Joined: Sun Jan 10, 2010 10:58 am

Re: Can PAPI support Intel Nehalem (Core i7) Gulftown?

Postby Dan Terpstra » Wed Feb 10, 2010 12:29 pm

The problem is that PAPI doesn't recognize this combination of family (6) and model (44) as a valid processor. Because of that, it isn't finding an event table to use to define the events for papi_avail and papi_native_avail. Although the native event table should be very similar to that of earlier Nehalem, theremay be some slight differences. The papi_mem_info problems may be because there is information returned by cpuid about cache structure that PAPI doesn't know how to interpret.
We should be able to generate a patch to decode the cpu. From there we may need to do some further iterative testing to get things right. We currently don't have access to this architecture. Can you work with us or give us an account on this machine?
Dan Terpstra
 
Posts: 57
Joined: Mon Aug 24, 2009 5:42 pm

Re: Can PAPI support Intel Nehalem (Core i7) Gulftown?

Postby Jie Jiang » Sun Feb 14, 2010 4:22 am

Hi Dan,

Thanks for your reply.
This machine cann't be accessed remotely.
But I'm glad to work around this issue.
Hope it goes well.

Regards,
Jie
Jie Jiang
 
Posts: 2
Joined: Sun Jan 10, 2010 10:58 am

Re: Can PAPI support Intel Nehalem (Core i7) Gulftown?

Postby Dan Terpstra » Mon Feb 15, 2010 11:29 am

We've commited some code to allow PAPI to recognize this family and model. We haven't updated the event table yet, but it may work reasonably well if it identifies as a Nehalem. If you're interested, do an anonymous checkout from our cvs repository and let us know how it works.
Dan Terpstra
 
Posts: 57
Joined: Mon Aug 24, 2009 5:42 pm


Return to General discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest