Re: Preemptionirqsoff latency issue

2015-01-09 Thread Davidlohr Bueso
On Fri, 2015-01-09 at 20:19 +0530, Vaibhav Shinde wrote: > My app runs on cpu0, while other cpus looks idle; as per my > understanding from your comment owner of the mutex is on the cpu other > than cpu0, and which is causing wait spin on cpu0. The thing is, cpu0 is rescheduling too often, so you'

Re: Preemptionirqsoff latency issue

2015-01-09 Thread Steven Rostedt
On Fri, 9 Jan 2015 20:19:51 +0530 Vaibhav Shinde wrote: > Hi Peter, > > Thanks for you reply. > > I am interested in scheduling latency, and using ftrace I see for my > application suffering from it, that's why I am digging in preemption/irq > disable time which might cause the latency. > > My

Re: Preemptionirqsoff latency issue

2015-01-09 Thread Peter Zijlstra
On Fri, Jan 09, 2015 at 02:31:35PM +0530, Vaibhav Shinde wrote: > Hi All, > > I have been checking preemption/irqs off latency with ftrace to find out > the reason for scheduling latency for my application - > > echo 0 > options/function-trace > echo preemptirqsoff > current_tracer > echo 1 > tra