[perfmon2] stoping/resuming counting

2009-04-28 Thread Daniel Thomas
Hi Stephane, Forgive me if I understood wrongly but if I run the example_v2.x/notify_self example on my suse11 Nehalem system I get this: ./notify_self [FIXED_CTRL(pmc16)=0xaa pmi0=1 en0=0x2 any0=0 pmi1=1 en1=0x2 any1=0 pmi2=1 en2=0x0 any2=0] INSTRUCTIONS_RETIRED UNHALTED_CORE_CYCLES [FIXED

Re: [perfmon2] stoping/resuming counting

2009-04-28 Thread stephane eranian
Daniel, I assume you have changed busyloop() or reset notification_received, otherwise the function will return immediately because notification_received will already be 3. void busyloop(void) { /* * busy loop to burn CPU cycles */ for(;notification_received <

[perfmon2] Perfmon 3 on Gainsetown.

2009-04-28 Thread Rob Fowler
We're looking for a little quick guidance. We've got a brand new (arrived yesterday) dual Nelalem (Gainestown) blade and are trying to bring up perfmon 2 or 3 on it. The initial attempt was to build as a module. We used the released /sys/kernel/perfmon/version 2.82. We're running libpfm-3.8 with

Re: [perfmon2] Perfmon 3 on Gainsetown.

2009-04-28 Thread stephane eranian
Hello Rob, On Tue, Apr 28, 2009 at 4:32 PM, Rob Fowler wrote: > We're looking for a little quick guidance. > > We've got a brand new (arrived yesterday) dual Nelalem (Gainestown) > blade and are trying to bring up perfmon 2 or 3 on it. > > The initial attempt was to build as a module. We used the

[perfmon2] cannot initialize library. Most likely host PMU is not supported.

2009-04-28 Thread Prentice Bisbal
Greetings, perfmon2 list. I just compiled a Linux 2.6.28.1 kernel after applying the perfmon-new-base-090219 patch. I'm using a free rebuild of RHEL 5.3. I compiled the kernel with 'make rpm' and then installed the new kernel on a couple of machines. I compiled/installed both libpfm-3.8 and pfmo

Re: [perfmon2] cannot initialize library. Most likely host PMU is not supported.

2009-04-28 Thread stephane eranian
Hi, On Tue, Apr 28, 2009 at 5:05 PM, Prentice Bisbal wrote: > Greetings, perfmon2 list. > > I just compiled a Linux 2.6.28.1 kernel  after applying the > perfmon-new-base-090219 patch. I'm using a free rebuild of RHEL 5.3. > > I compiled the kernel with 'make rpm' and then installed the new kerne