Viresh Kumar viresh.kumar@linaro.org writes:
On 17 December 2013 22:05, Kevin Hilman khilman@linaro.org wrote:
For future reference, for generating email friendly trace output for discussion like this, you can use something like:
trace-cmd report --cpu=1 trace.dat
Okay..
And after that the next event comes after 5 Seconds.
And so I was talking for the Event 41.
That first event (Event 41) is an interrupt, and comes from the scheduler tick. The tick is happening because the writeback workqueue just ran and we're not in NO_HZ mode.
This is what I was trying to ask. Why can't we enter in NO_HZ_FULL mode as soon as writeback workqueue just ran? That way we can go into NOHZ mode earlier..
Ah, I see. So you're basically asking why we can't evaluate whether to turn off the tick more often, for example right after the workqueues are done. I suppose Frederic may have some views on that, but there's likely additional overhead from those checks as well as that workqueues may not be the only thing keeping us out of NO_HZ.
Kevin