public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Azat Khuzhin <a3at.mail@gmail.com>
Cc: Linux Kernel ML <linux-kernel@vger.kernel.org>,
	Ingo Molnar <mingo@kernel.org>
Subject: Re: load average always more then 1 on idle system with dyntick (just after boot)
Date: Tue, 14 Apr 2015 11:54:24 +0200	[thread overview]
Message-ID: <20150414095424.GJ5029@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <20150331195248.GA3582@azat>

On Tue, Mar 31, 2015 at 10:52:48PM +0300, Azat Khuzhin wrote:
> Hi all,
> 
> On one of machines [SUPERMICRO], after installing fresh kernel
> (v4.0-rc5-25-g90a5a89), I noticed that loadavg always greater then 1.
> 
> I do a lot of digging and finally have more information on this issue:
> CONFIG_NO_HZ_IDLE=y  # loadavg always > 1
> CONFIG_HZ_PERIODIC=y # loadavg < 1
> 
> After this I tried to disable "nohz" at boot, to determine whether it is
> statically added code under #ifdef during compilation or not, so I added
> "nohz=off" to cmdline, and it helps!
> 
> Also if you enable preemption loadavg is also < 1:
> CONFIG_PREEMPT_VOLUNTARY=y

So you need CONFIG_PREEMPT=n and CONFIG_NO_HZ_IDLE=y for this to happen?

That's somewhat odd (and uncommon I think, most everybody has at least
VOLUNTARY enabled these days).

I'll try to look over the code to see if I can find a preempt relation,
weird that.

  parent reply	other threads:[~2015-04-14  9:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-31 19:52 load average always more then 1 on idle system with dyntick (just after boot) Azat Khuzhin
2015-04-14  9:44 ` Azat Khuzhin
2015-04-14  9:54 ` Peter Zijlstra [this message]
2015-04-14 10:19   ` Azat Khuzhin

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=20150414095424.GJ5029@twins.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=a3at.mail@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.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