Re: [perfmon2] Offcore PMU support on Ivy Bridge

2014-08-22 Thread Bhavishya Goel
Yes, updating to the latest kernel fixed the problem. Thanks. On Fri, Aug 22, 2014 at 4:13 AM, Stephane Eranian wrote: > On Thu, Aug 21, 2014 at 2:25 PM, Bhavishya Goel > wrote: > > Thanks Vince. I will upgrade the kernel and try again. > > > I was going to ask you for your kernel version. > y

Re: [perfmon2] Offcore PMU support on Ivy Bridge

2014-08-21 Thread Stephane Eranian
On Thu, Aug 21, 2014 at 2:25 PM, Bhavishya Goel wrote: > Thanks Vince. I will upgrade the kernel and try again. > I was going to ask you for your kernel version. you need a recent kernel. OFFCORE_RESPONE needs some kernel support which was either missing or broken for IvyBridge in the kernel you a

Re: [perfmon2] Offcore PMU support on Ivy Bridge

2014-08-21 Thread Vince Weaver
On Thu, 21 Aug 2014, Bhavishya Goel wrote: > The same command with same benchmark works fine on Nehalem and Haswell. My > kernel version is a bit old (3.2.0). Can it be because of that? yes, offcore was broken in the kernel in a way that couldn't be detected for a while. I think it wasn't fixed

Re: [perfmon2] Offcore PMU support on Ivy Bridge

2014-08-21 Thread Bhavishya Goel
Thanks Vince. I will upgrade the kernel and try again. On Thu, Aug 21, 2014 at 2:29 PM, Vince Weaver wrote: > On Thu, 21 Aug 2014, Bhavishya Goel wrote: > > > The same command with same benchmark works fine on Nehalem and Haswell. > My > > kernel version is a bit old (3.2.0). Can it be because

[perfmon2] Offcore PMU support on Ivy Bridge

2014-08-21 Thread Bhavishya Goel
Hi, I am trying to use the offcore pmu counters on my Ivy Bridge processor (model Core-i7 3770) with libpfm 4.5.0. But I always get zero value for these counters. For example: task -i -e L2_RQSTS:RFO_MISS,OFFCORE_RESPONSE_0:ANY_REQUEST:ANY_RESPONSE ./cmd 4 65 580 863 L2_RQSTS:RFO_MISS (0,00% sca