Re: Thread scheduler misbehaviour OR Oprofile bug?

2015-01-16 Thread Zoltan Kiss
On 16/01/15 19:37, William Cohen wrote: On 01/16/2015 01:29 PM, Zoltan Kiss wrote: On 16/01/15 15:38, William Cohen wrote: On 01/16/2015 09:01 AM, Zoltan Kiss wrote: Hi, I'm using OProfile to check some suspicious behaviour of dpdk-pktgen, and I can see something which troubles me. Either

Re: Thread scheduler misbehaviour OR Oprofile bug?

2015-01-16 Thread Zoltan Kiss
Hi, Another fun fact I forgot to mention: if I profile only this thread, and then run opreport with cpu filtering, it only shows results on the right cpu. So the wrong accounting only happens when I do system wide profiling. But not just with this thread and function, other functions appear a

Re: Thread scheduler misbehaviour OR Oprofile bug?

2015-01-16 Thread William Cohen
On 01/16/2015 01:29 PM, Zoltan Kiss wrote: > > > On 16/01/15 15:38, William Cohen wrote: >> On 01/16/2015 09:01 AM, Zoltan Kiss wrote: >>> Hi, >>> >>> I'm using OProfile to check some suspicious behaviour of dpdk-pktgen, >>> and I can see something which troubles me. Either the scheduler lies >>>

Re: Thread scheduler misbehaviour OR Oprofile bug?

2015-01-16 Thread Zoltan Kiss
On 16/01/15 15:38, William Cohen wrote: On 01/16/2015 09:01 AM, Zoltan Kiss wrote: Hi, I'm using OProfile to check some suspicious behaviour of dpdk-pktgen, and I can see something which troubles me. Either the scheduler lies about core affinity or Oprofile accounts some samples wrongly. This

Re: Thread scheduler misbehaviour OR Oprofile bug?

2015-01-16 Thread Zoltan Kiss
Hi, On 16/01/15 15:38, William Cohen wrote: On 01/16/2015 09:01 AM, Zoltan Kiss wrote: Hi, I'm using OProfile to check some suspicious behaviour of dpdk-pktgen, and I can see something which troubles me. Either the scheduler lies about core affinity or Oprofile accounts some samples wrongly. T

Re: Thread scheduler misbehaviour OR Oprofile bug?

2015-01-16 Thread William Cohen
On 01/16/2015 09:01 AM, Zoltan Kiss wrote: > Hi, > > I'm using OProfile to check some suspicious behaviour of dpdk-pktgen, > and I can see something which troubles me. Either the scheduler lies > about core affinity or Oprofile accounts some samples wrongly. > This userspace app runs in threads,

Thread scheduler misbehaviour OR Oprofile bug?

2015-01-16 Thread Zoltan Kiss
Hi, I'm using OProfile to check some suspicious behaviour of dpdk-pktgen, and I can see something which troubles me. Either the scheduler lies about core affinity or Oprofile accounts some samples wrongly. This userspace app runs in threads, which are assigned explicitly to one single core wit