PAPI_ESBSTR Error on Intel core i7

Open discussion of PAPI.

PAPI_ESBSTR Error on Intel core i7

Postby guangyu » Sun Jun 27, 2010 8:51 pm

Hi,

I am trying to collect cache performance statistics using PAPI. The processor is Intel Core i7 and the operating system is Linux 2.6.31 Ubunty 9.10 with perfctr 2.6.x installed.

When I tried "make test" I got the following error message:

... (42 lines of "PAPI error: pfmlib not initialized)
PAPI Error: 42 of 42 events in papi_events.csv were not valid.
zero.c FAILED
Line # 34
Error in PAPI_library_init: PAPI_ESBSTR

When I run the perfex -i, it prints:

PerfCtr Info:
abi_version 0x05020501
driver_version 2.6.40 DEBUG
cpu_type 3 (?)
cpu_features 0x7 (rdpmc,rdtsc,pcint)
cpu_khz 2792766
tsc_to_cpu_mult 1
cpu_nrctrs 0
cpus [0,1,2,3,4,5,6,7], total: 8
cpus_forbidden [], total: 0

Am I missing any step to get the PAPI work? I am new to PAPI, and I really appreciate any suggestions you could give me.

Thanks,

Guangyu
guangyu
 
Posts: 4
Joined: Sat Jun 26, 2010 5:25 pm

Re: PAPI_ESBSTR Error on Intel core i7

Postby guangyu » Mon Jun 28, 2010 6:16 pm

Plus, it is not running on a virtualized operating system
guangyu
 
Posts: 4
Joined: Sat Jun 26, 2010 5:25 pm

Re: PAPI_ESBSTR Error on Intel core i7

Postby admin » Tue Jun 29, 2010 8:44 pm

Is this a Nehalem EX?
If so, try a newer kernel or the latest perfctr patch, along with the recently released PAPI 4.1.0.
admin
Site Admin
 
Posts: 3
Joined: Fri Aug 21, 2009 5:15 pm

Re: PAPI_ESBSTR Error on Intel core i7

Postby guangyu » Wed Jun 30, 2010 11:33 pm

No I don't think it is Nehalem-EX. It is Core i7 model 30. After I installed perfctr 2.6.41, the perfex seems working well:
# perfex -i
PerfCtr Info:
abi_version 0x05020501
driver_version 2.6.41 DEBUG
cpu_type 21 (Intel Nehalem)
cpu_features 0x7 (rdpmc,rdtsc,pcint)
cpu_khz 2792787
tsc_to_cpu_mult 1
cpu_nrctrs 7
cpus [0,1,2,3,4,5,6,7], total: 8
cpus_forbidden [], total: 0
#
Now the number of available counters is 7. But I still have the same problem when I do make test:
zero.c FAILED
Line # 34
Error in PAPI_library_init: PAPI_ESBSTR

What could be wrong?
Thx.
guangyu
 
Posts: 4
Joined: Sat Jun 26, 2010 5:25 pm


Return to General discussion

Who is online

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