mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Paul Jackson <pj@sgi.com>
Cc: Max Krasnyanskiy <maxk@qualcomm.com>,
	menage@google.com, mingo@elte.hu, linux-kernel@vger.kernel.org
Subject: Re: boot cgroup questions
Date: Fri, 09 May 2008 12:45:26 +0200	[thread overview]
Message-ID: <1210329926.13978.224.camel@twins> (raw)
In-Reply-To: <20080414133902.7878cfce.pj@sgi.com>

On Mon, 2008-04-14 at 13:39 -0500, Paul Jackson wrote:
> Max wrote:
> > I mean you guys were talking about how wonderful 
> > and flexible cpusets are, but we cannot seem to use the flexibility because 
> > the apps are designed for a flat layout
> 
> No.  Not flat.  Not at all flat.
> 
> We routinely and normally have an interesting hierarchy of cpusets
> below /dev/cpuset.  However that hierarchy is determined by the
> nesting of subsets of the nodes (CPUs and/or Memory) on the system.
> 
> These subsets of nodes in the /dev/cpuset hierarchy may well map
> nicely into the subsets of CPUs that can receive a particular set
> of IRQs, however that map is not bijective.  Of particular interest
> here, it's not injective, meaning that multiple cpusets might and
> will commonly receive the same set of IRQs.  You can force this map
> to be injective by elaborating the cpuset hierarchy to reflect both
> this new assignment of IRQs and the (CPU and/or Memory) node subset
> hiearchy that it currently reflects, but that will break code that
> was expecting the directory tree below /dev/cpuset to directly and
> only reflect the node hierarchy.
> 
> In less mathematically obtuse wording, sure you can add more directory
> layers below /dev/cpuset, to handle IRQ assignments, but that will
> break code that was expecting the /dev/cpuset directory tree to only
> reflect the nesting of (CPU and/or Memory) nodes.

Sorry for being rather late to the game - other stuff keeps me from
doing anything much here :-(.

Anyway, the current applications don't support IRQ assingment anyway.
That's a new feature; and its quite common that new features require
code changes.

So I'm not seeing the problem - don't change code and stuff works as
before - change code and you get new stuff.

So I'm arguing in favour of the IRQs as tasks idea that might need extra
hierarchy levels.


  reply	other threads:[~2008-05-09 10:45 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-12  1:23 Max Krasnyansky
2008-03-12  1:27 ` Paul Menage
2008-03-12  2:34   ` Max Krasnyansky
2008-03-12  2:36     ` Paul Menage
2008-03-12  2:53       ` Max Krasnyansky
2008-03-12  3:09         ` Paul Menage
2008-03-12  3:39           ` Max Krasnyansky
2008-03-12  4:59           ` Paul Jackson
2008-03-12 18:24             ` Max Krasnyanskiy
2008-03-12 18:57               ` Paul Jackson
2008-03-12 19:11                 ` Max Krasnyanskiy
2008-03-12 19:32                   ` Paul Jackson
2008-03-12 20:08                     ` Max Krasnyanskiy
2008-03-12 20:37                       ` Paul Jackson
2008-03-12 22:29                         ` Max Krasnyanskiy
2008-03-12 23:30                           ` Paul Jackson
2008-03-13  0:57                             ` Max Krasnyanskiy
2008-03-13  7:03                               ` Paul Jackson
2008-04-10 18:03                                 ` Max Krasnyanskiy
2008-04-14 18:39                                   ` Paul Jackson
2008-05-09 10:45                                     ` Peter Zijlstra [this message]
2008-05-09 11:17                                       ` IRQ affinities (was: boot cgroup questions) Paul Jackson
2008-05-09 11:48                                         ` Peter Zijlstra
2008-05-09 12:03                                           ` Paul Jackson
2008-05-09 12:14                                             ` Peter Zijlstra
2008-05-09 12:36                                               ` Paul Jackson
2008-05-09 17:43                                                 ` Paul Jackson
2008-05-21  1:21                                                 ` IRQ affinities Max Krasnyanskiy
2008-05-21  1:14                                         ` Max Krasnyanskiy
2008-05-21  4:45                                           ` Arjan van de Ven
2008-05-21 16:18                                             ` Max Krasnyanskiy
2008-05-21  6:34                                           ` Paul Jackson
2008-05-21 17:58                                             ` Max Krasnyanskiy
2008-04-14 18:42                                   ` boot cgroup questions Paul Jackson
2008-03-13  7:12                               ` Paul Jackson
2008-04-10 17:24                                 ` Max Krasnyanskiy
2008-04-10 17:37                                   ` Paul Jackson
2008-03-12 23:32                           ` Paul Jackson
2008-03-13  0:46                             ` Max Krasnyanskiy
2008-03-12 19:16             ` Paul Menage
2008-03-12 19:24               ` Paul Jackson
2008-03-12 19:30                 ` Max Krasnyanskiy

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=1210329926.13978.224.camel@twins \
    --to=a.p.zijlstra@chello.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxk@qualcomm.com \
    --cc=menage@google.com \
    --cc=mingo@elte.hu \
    --cc=pj@sgi.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

Powered by JetHome