public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Galbraith <umgwanakikbuti@gmail.com>
To: Rik van Riel <riel@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] cpusets,isolcpus: resolve conflict between cpusets and isolcpus
Date: Tue, 24 Feb 2015 15:22:16 +0100	[thread overview]
Message-ID: <1424787736.5419.13.camel@gmail.com> (raw)
In-Reply-To: <54EC86F0.8080107@redhat.com>

On Tue, 2015-02-24 at 09:13 -0500, Rik van Riel wrote:
> On 02/23/2015 09:18 PM, Mike Galbraith wrote:
> > On Mon, 2015-02-23 at 16:45 -0500, riel@redhat.com wrote:
> >> Ensure that cpus specified with the isolcpus= boot commandline 
> >> option stay outside of the load balancing in the kernel
> >> scheduler.
> >> 
> >> Operations like load balancing can introduce unwanted latencies, 
> >> which is exactly what the isolcpus= commandline is there to
> >> prevent.
> >> 
> >> Previously, simply creating a new cpuset, without even touching
> >> the cpuset.cpus field inside the new cpuset, would undo the
> >> effects of isolcpus=, by creating a scheduler domain spanning the
> >> whole system, and setting up load balancing inside that domain.
> >> The cpuset root cpuset.cpus file is read-only, so there was not
> >> even a way to undo that effect.
> >> 
> >> This does not impact the majority of cpusets users, since
> >> isolcpus= is a fairly specialized feature used for realtime
> >> purposes.
> > 
> > 3/3: nohz_full cpus become part of that unified isolated map?
> 
> There may be use cases where users want nohz_full, but still
> want the scheduler to automatically load balance the CPU.
> 
> I am not sure whether we want nohz_full and isolcpus to always
> overlap 100%.
> 
> On the other hand, any CPU that is isolated with isolcpus=
> probably wants nohz_full...

I can't imagine caring deeply about the tiny interference of the tick,
yet not caring about the massive interference of load balancing.

	-Mike



  reply	other threads:[~2015-02-24 14:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-23 21:45 [PATCH 0/2] cpusets,isolcpus: resolve conflict between cpusets and isolcpus riel
2015-02-23 21:45 ` [PATCH 1/2] cpusets,isolcpus: exclude isolcpus from load balancing in cpusets riel
2015-02-25  2:10   ` David Rientjes
2015-02-23 21:45 ` [PATCH 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset riel
2015-02-25  2:15   ` David Rientjes
2015-02-25  3:30     ` Rik van Riel
2015-02-24  2:18 ` [PATCH 0/2] cpusets,isolcpus: resolve conflict between cpusets and isolcpus Mike Galbraith
2015-02-24 14:13   ` Rik van Riel
2015-02-24 14:22     ` Mike Galbraith [this message]
2015-02-24 14:29     ` Mike Galbraith

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=1424787736.5419.13.camel@gmail.com \
    --to=umgwanakikbuti@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@redhat.com \
    /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