From: Azat Khuzhin <a3at.mail@gmail.com>
To: Peter Zijlstra <peterz@infradead.org>
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 13:19:04 +0300 [thread overview]
Message-ID: <20150414101904.GG25394@azat> (raw)
In-Reply-To: <20150414095424.GJ5029@twins.programming.kicks-ass.net>
On Tue, Apr 14, 2015 at 11:54:24AM +0200, Peter Zijlstra wrote:
> 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?
Yep, CONFIG_PREEMPT_NONE=y and CONFIG_NO_HZ_IDLE=y
> That's somewhat odd (and uncommon I think, most everybody has at least
> VOLUNTARY enabled these days).
This is not a big problem for me, I could enable VOLUNTARY, but I don't
think that it will be useful for my workload. But I could be wrong.
> I'll try to look over the code to see if I can find a preempt relation,
> weird that.
Thanks!
prev parent reply other threads:[~2015-04-14 10:19 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
2015-04-14 10:19 ` Azat Khuzhin [this message]
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=20150414101904.GG25394@azat \
--to=a3at.mail@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.