Re: doubt on schedule_work() - work task getting scheduled lately

2016-08-05 Thread Daniel.
ftrace :) 2016-08-05 4:22 GMT-03:00 Muni Sekhar : > On Mon, Aug 1, 2016 at 6:34 PM, Daniel. wrote: >> Did you tried ftrace? >> https://www.kernel.org/doc/Documentation/trace/ftrace.txt >> >> I've been using this to measure some latencies. The

Re: doubt on schedule_work() - work task getting scheduled lately

2016-08-05 Thread Muni Sekhar
On Mon, Aug 1, 2016 at 6:34 PM, Daniel. wrote: > Did you tried ftrace? > https://www.kernel.org/doc/Documentation/trace/ftrace.txt > > I've been using this to measure some latencies. The problem here is > visualizing the output. If you need someting more elaborated than >

Re: doubt on schedule_work() - work task getting scheduled lately

2016-08-04 Thread Mulyadi Santosa
On Fri, Jul 29, 2016 at 5:32 PM, Muni Sekhar wrote: > Hi All, > > I have a doubt regarding the workqueue scheduling. > > I am using the workqueue for processing the Rx Interrupt data. I am > calling schedule_work() on receiving the Rx interrupt from hardware. > > I

Re: doubt on schedule_work() - work task getting scheduled lately

2016-08-01 Thread Daniel.
Did you tried ftrace? https://www.kernel.org/doc/Documentation/trace/ftrace.txt I've been using this to measure some latencies. The problem here is visualizing the output. If you need someting more elaborated than simple prints with timestamps and delta calculations, then you should try something

Re: doubt on schedule_work() - work task getting scheduled lately

2016-08-01 Thread Muni Sekhar
On Fri, Jul 29, 2016 at 9:05 PM, Daniel. wrote: > Nice tool @Ricardo! > > 2016-07-29 10:48 GMT-03:00 Ricardo Ribalda Delgado > : >> you can use http://lttng.org/ for analyzing this Thanks Ricardo, I will use this. >> >> Regards! >> >> On Fri,

Re: doubt on schedule_work() - work task getting scheduled lately

2016-07-29 Thread Daniel.
Nice tool @Ricardo! 2016-07-29 10:48 GMT-03:00 Ricardo Ribalda Delgado : > you can use http://lttng.org/ for analyzing this > > Regards! > > On Fri, Jul 29, 2016 at 12:44 PM, Pranay Srivastava wrote: >> On Fri, Jul 29, 2016 at 4:02 PM, Muni Sekhar

Re: doubt on schedule_work() - work task getting scheduled lately

2016-07-29 Thread Ricardo Ribalda Delgado
you can use http://lttng.org/ for analyzing this Regards! On Fri, Jul 29, 2016 at 12:44 PM, Pranay Srivastava wrote: > On Fri, Jul 29, 2016 at 4:02 PM, Muni Sekhar wrote: >> Hi All, >> >> I have a doubt regarding the workqueue scheduling. >> >> I am

Re: doubt on schedule_work() - work task getting scheduled lately

2016-07-29 Thread Pranay Srivastava
On Fri, Jul 29, 2016 at 4:02 PM, Muni Sekhar wrote: > Hi All, > > I have a doubt regarding the workqueue scheduling. > > I am using the workqueue for processing the Rx Interrupt data. I am > calling schedule_work() on receiving the Rx interrupt from hardware. > > I

doubt on schedule_work() - work task getting scheduled lately

2016-07-29 Thread Muni Sekhar
Hi All, I have a doubt regarding the workqueue scheduling. I am using the workqueue for processing the Rx Interrupt data. I am calling schedule_work() on receiving the Rx interrupt from hardware. I calculated the time between calling the schedule_work() and workqueue task actually getting