From: Ingo Molnar <mingo@kernel.org>
To: "Peter Zijlstra" <peterz@infradead.org>,
"Frédéric Weisbecker" <fweisbec@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Alexey Dobriyan <adobriyan@gmail.com>,
linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>,
Frederic Weisbecker <fweisbec@gmail.com>
Subject: Re: 4.2.2: NR_CPUS effectively being 1 bug
Date: Sat, 3 Oct 2015 09:38:13 +0200 [thread overview]
Message-ID: <20151003073812.GA24548@gmail.com> (raw)
In-Reply-To: <20151003065320.GE3816@twins.programming.kicks-ass.net>
* Peter Zijlstra <peterz@infradead.org> wrote:
> On Fri, Oct 02, 2015 at 02:00:33PM -0700, Andrew Morton wrote:
> > On Fri, 2 Oct 2015 23:46:59 +0300 Alexey Dobriyan <adobriyan@gmail.com> wrote:
> >
> > > FYI, I've upgraded from 4.1.7 to 4.2.1 (and retested with 4.2.2) and
> > > everything is scheduled on 1 CPU out of 4 (i5 760).
> > >
> > > $ sudo cat /proc/1/status | grep cpu -i
> > > Cpus_allowed: 1
> > > Cpus_allowed_list: 0
> > >
> > > Every process inherits this tiny cpumask.
> >
> > Sell the other CPUs on ebay?
> >
> > I haven't seen such a report before - maybe it rings a bell with Peter
> > & Ingo?
>
> I think this is related to some NO_HZ_FULL quackery. People seem to have
> enabled stuff they've really no sane reason for.
So the question is, is CONFIG_NO_HZ_FULL_ALL=y enabled? If yes then please disable
it.
Frederic, is there a fix for that? The Kconfig help text for CONFIG_NO_HZ_FULL_ALL
says::
CONFIG_NO_HZ_FULL_ALL:
If the user doesn't pass the nohz_full boot option to
define the range of full dynticks CPUs, consider that all
CPUs in the system are full dynticks by default.
Note the boot CPU will still be kept outside the range to
handle the timekeeping duty.
I can see people enabling that. Why are all CPUs lost if it's done?
Thanks,
Ingo
next prev parent reply other threads:[~2015-10-03 7:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-02 20:46 4.2.2: NR_CPUS effectively being 1 bug Alexey Dobriyan
2015-10-02 21:00 ` Andrew Morton
2015-10-03 6:53 ` Peter Zijlstra
2015-10-03 7:38 ` Ingo Molnar [this message]
2015-10-03 8:15 ` Mike Galbraith
2015-10-03 8:18 ` Ingo Molnar
2015-10-03 8:24 ` Mike Galbraith
2015-10-03 8:52 ` Ingo Molnar
2015-10-03 12:04 ` Mike Galbraith
2015-10-03 12:31 ` Frederic Weisbecker
2015-10-03 12:49 ` Mike Galbraith
2015-10-03 12:14 ` Alexey Dobriyan
2015-10-03 12:19 ` Mike Galbraith
2015-10-03 6:50 ` Afzal Mohammed
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=20151003073812.GA24548@gmail.com \
--to=mingo@kernel.org \
--cc=adobriyan@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox