PAPI and hypertransport

Open discussion of PAPI.

PAPI and hypertransport

Postby abuttari » Thu Jun 23, 2011 10:13 am

Hello,
I am trying to measure how good the memory locality of a code is on a NUMA machine. While searching, I came across this page:

http://www.nic.uoregon.edu/tau-wiki/Gui ... A_Analysis

and I thought it may be exactly what I need to do.
So I installed

libpfm-3.10
pdtoolkit-3.16
papi-4.1.3
tau-2.20.2

On my x86_64 AMD machine with 4 Six-Core AMD Opteron(tm) Processor 8431 and 2.6.32 kernel.

However, when I try to profile my executable, I get the following error:

TAU: Error: Counter HT_LR_MEM_XFR is not available!

I believe this error is related to PAPI, isn't it?
Can anybody tell me how to solve this problem?

Thanks in advance

Alfredo
abuttari
 
Posts: 3
Joined: Thu Jun 23, 2011 9:37 am

Re: PAPI and hypertransport

Postby danterpstra » Thu Jun 23, 2011 10:59 am

Run utils/papi_native_avail and see if that event exists for your cpu.
danterpstra
 
Posts: 63
Joined: Wed Jun 23, 2010 2:21 pm

Re: PAPI and hypertransport

Postby abuttari » Thu Jun 23, 2011 3:45 pm

Hello Dan,
nope, apparently this event is not available on my system. Is it any different than

HYPERTRANSPORT_LINK(x):DATA_DWORD_SENT

?

thanks

alfredo
abuttari
 
Posts: 3
Joined: Thu Jun 23, 2011 9:37 am

Re: PAPI and hypertransport

Postby danterpstra » Thu Jun 23, 2011 4:07 pm

Hi Alfredo!
The Hypertransport events were in high flux across various releases of Opteron chips.Hard to say what chip supports what events. Your best bet is to read the AMD documentation , and even then, don't bet too much! ;)
You might try a more recent kernel with better perf events support, or try patching with perfctr, which has pretty good support for hypertransport events.
In any event (pun intended) YMMV...
- dan
danterpstra
 
Posts: 63
Joined: Wed Jun 23, 2010 2:21 pm

Re: PAPI and hypertransport

Postby abuttari » Fri Jun 24, 2011 3:00 am

Thanks for the tips Dan,
hopefully I'll manage to make some sense out of my code's performance :-)

Ciao
Alfredo
abuttari
 
Posts: 3
Joined: Thu Jun 23, 2011 9:37 am


Return to General discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron