mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Galbraith <bitbucket@online.de>
To: Christoph Lameter <cl@linux.com>
Cc: Gilad Ben-Yossef <gilad@benyossef.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Mike Frysinger <vapier@gentoo.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Subject: Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus.
Date: Wed, 11 Sep 2013 16:53:26 +0200	[thread overview]
Message-ID: <1378911206.5476.134.camel@marge.simpson.net> (raw)
In-Reply-To: <000001410d659f85-21128fa5-a252-4006-804c-4ff03acbd50f-000000@email.amazonses.com>

On Wed, 2013-09-11 at 14:21 +0000, Christoph Lameter wrote: 
> On Wed, 11 Sep 2013, Mike Galbraith wrote:
> 
> > Mind saying why?  To me, creating properties of exclusive sets of CPUs
> > that the interface which manages sets and their properties is not fully
> > aware of is a dainbramaged thing to do.
> 
> cpusets is being replaced by cgropus. And the mechanism adds some
> significant latencies to core memory management processing path.

You don't have to use or even configure in all controllers.

> Also many folks in finance like to deal directly with the hardware
> (processor numbers, affinity masks etc). There are already numerous ways
> to specify these masks. Pretty well established. Digging down a cpuset
> hierachy is a bit tedious. Then these cpusets can also overlap which
> makes the whole setup difficult.

These kind of things have to be exclusive set attributes 'course,
overlapping nohz_tick/full/off just ain't gonna work very well.

I hacked it up for my rt kernel to turn the tick on/off, and disable rt
load balancing (cpupri adds jitter) on a per exclusive set basis.  The
cpuset bit is easy.  Connecting buttons to scheduler and whatnot can
make cute little "You'd better not EVER submit this" warts though :)

> If cpusets can be used on top then ok but I would like it not to be
> required to have that compiled in.

IMHO, it makes much more sense to unify set attributes in cpusets,
fixing up or griping about whatever annoys HPC boxen/folks.

But whatever, I only piped in to mention that isolcpus wants to die, and
I've done that, so I can pipe-down now.

-Mike



  reply	other threads:[~2013-09-11 14:53 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-05 20:07 Christoph Lameter
2013-09-10  6:05 ` Gilad Ben-Yossef
2013-09-10  6:47   ` Mike Galbraith
2013-09-10  6:59     ` Gilad Ben-Yossef
2013-09-10  7:26       ` Mike Galbraith
2013-09-10  7:56         ` Gilad Ben-Yossef
2013-09-10  8:53           ` Mike Galbraith
2013-09-10 21:10           ` Christoph Lameter
2013-09-11  3:20             ` Mike Galbraith
2013-09-11 14:21               ` Christoph Lameter
2013-09-11 14:53                 ` Mike Galbraith [this message]
2013-09-11 16:56                   ` Christoph Lameter
2013-09-11 21:36                 ` Frederic Weisbecker
2013-09-12  3:30                   ` Mike Galbraith
2013-09-10 21:08   ` Christoph Lameter
2013-09-10  7:39 ` Rob Landley
2013-09-10 21:11   ` Christoph Lameter
2013-09-11 22:02 ` Frederic Weisbecker
2013-09-12 14:10   ` Christoph Lameter
2013-09-12 14:16     ` Frederic Weisbecker
2013-09-12 14:22       ` Christoph Lameter
2013-09-12 14:31         ` Frederic Weisbecker
2013-09-12 14:52           ` Christoph Lameter
2013-09-12 15:11             ` Frederic Weisbecker
2013-09-12 15:32               ` Christoph Lameter
2013-09-12 18:45                 ` Frederic Weisbecker
2013-09-12 15:39               ` Paul E. McKenney
2013-09-12 18:35                 ` Frederic Weisbecker
2013-09-12 18:51                   ` Paul E. McKenney
2013-09-15 13:53                   ` Gilad Ben-Yossef
     [not found]               ` <alpine.DEB.2.02.1309121030390.21473@gentwo.org>
2013-09-12 15:42                 ` Christoph Lameter
2013-09-12 18:30                   ` Frederic Weisbecker
2013-09-13  9:25                     ` Peter Zijlstra
2013-09-13 13:54                       ` Christoph Lameter
2013-09-13 14:40                         ` Peter Zijlstra
2013-09-13 15:15                           ` Christoph Lameter
     [not found]                           ` <alpine.DEB.2.02.1309131010480.26487@gentwo.org>
2013-09-13 15:40                             ` Christoph Lameter
2013-09-16  6:02                               ` Peter Zijlstra
2013-09-13 13:45                     ` Christoph Lameter
2013-09-13 14:04                       ` Frederic Weisbecker
2013-09-13 14:25                         ` Christoph Lameter
2013-09-15 13:47       ` Gilad Ben-Yossef

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=1378911206.5476.134.camel@marge.simpson.net \
    --to=bitbucket@online.de \
    --cc=akpm@linux-foundation.org \
    --cc=cl@linux.com \
    --cc=fweisbec@gmail.com \
    --cc=gilad@benyossef.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=tglx@linutronix.de \
    --cc=vapier@gentoo.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

all inboxes | Powered by JetHome®