Thanks Stephane, pfmon -I shows Nehalem. But /sys/*/model shows Intel architectural. I guess that is where the problem is. :)
$./pfmon -I detected host CPUs: 8-way 1596MHz/8.0MB -- Intel(R) Core(TM) i7 CPU 965 @ 3.20GHz (stepping 4) detected pfmon PMU model: Intel Nehalem detected libpfm PMU model: Intel Nehalem max counters/set: 16 supported pfmon PMU models: [AMD64] [Pentium 4] [Intel Core] [Intel Atom] [Intel Nehalem] [Intel architectural PMU] supported sampling modules: [inst-hist] [detailed] [compact] [raw] pfmlib version: 3.8 kernel perfmon version: 2.82 kernel clock resolution: 1ns (1000000000Hz) host kernel architecture: x86_64 $cat /sys/kernel/perfmon/pmu_desc/model Intel architectural -- Ananth On Fri, Apr 17, 2009 at 5:02 PM, stephane eranian <eran...@googlemail.com> wrote: > What does pfmon -I report? > > Make sure you have the right PMU module inserted. > /sys/kernel/perfmon/pmu_desc/model > should show Nehalem > > > On Sat, Apr 18, 2009 at 1:04 AM, Ananth <ananth.nara...@gmail.com> wrote: >> Hi all, >> I want to count a bunch of uncore events on a Nehalem (Core i7 965) >> box but I get the following message when I try. >> >> ./pfmon --system-wide -u -k --cpu-list=0 --events=UNC_LLC_MISS:READ >> cannot configure events: set0 events incompatible or too many events >> or counters are unavailable (PMD20, PMD21, PMD22, PMD23, PMD24, PMD25, >> PMD26, PMD27, PMD28) >> >> I am unable to figure out what is going wrong, since I am specifying >> only 1 event and only 1 core. There is only 1 CPU socket (socket 0). I >> am using pfmon version 3.8. Any suggestions? >> >> -- Ananth >> >> ------------------------------------------------------------------------------ >> Stay on top of everything new and different, both inside and >> around Java (TM) technology - register by April 22, and save >> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. >> 300 plus technical and hands-on sessions. Register today. >> Use priority code J9JMT32. http://p.sf.net/sfu/p >> _______________________________________________ >> perfmon2-devel mailing list >> perfmon2-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel >> > ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel