public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@linaro.org>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>,
	Lists linaro-kernel <linaro-kernel@lists.linaro.org>,
	Linaro Networking <linaro-networking@linaro.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Tejun Heo <tj@kernel.org>
Subject: Re: [Query] Ticks happen in pair for NO_HZ_FULL cores ?
Date: Wed, 18 Dec 2013 05:51:16 -0800	[thread overview]
Message-ID: <87r49al12j.fsf@linaro.org> (raw)
In-Reply-To: <CAKohpo=Btb8ChRJ4Be9gbDE-nOxSaCVkQ_Qg5g7AVRxOMbXEQQ@mail.gmail.com> (Viresh Kumar's message of "Wed, 18 Dec 2013 10:08:19 +0530")

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


  reply	other threads:[~2013-12-18 13:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAKohponch=o3nBKTmakA87OiN=HbgnEwJUL23mGkjQiNoJWjWw@mail.gmail.com>
2013-12-11 13:22 ` [Query] Ticks happen in pair for NO_HZ_FULL cores ? Frederic Weisbecker
2013-12-11 21:14   ` Tejun Heo
2013-12-13  0:32     ` Kevin Hilman
2013-12-17 10:35   ` Viresh Kumar
2013-12-17 16:35     ` Kevin Hilman
2013-12-17 16:57       ` Frederic Weisbecker
2013-12-18  4:38       ` Viresh Kumar
2013-12-18 13:51         ` Kevin Hilman [this message]
2013-12-18 14:33           ` [LNG] " Viresh Kumar
2013-12-23  8:18             ` Viresh Kumar
2014-01-07  7:49               ` Viresh Kumar
2014-01-07  8:47               ` Peter Zijlstra
2014-01-07  8:55                 ` Viresh Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r49al12j.fsf@linaro.org \
    --to=khilman@linaro.org \
    --cc=fweisbec@gmail.com \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linaro-networking@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@kernel.org \
    --cc=viresh.kumar@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox