From: Paul Jackson <pj@sgi.com>
To: Felix Obenhuber <felix@obenhuber.de>
Cc: linux-kernel@vger.kernel.org,
dynsched-devel@lists.sourceforge.net, menage@google.com
Subject: Re: [RFC] dynsched - different cpu schedulers per cpuset
Date: Wed, 29 Nov 2006 20:13:10 -0800 [thread overview]
Message-ID: <20061129201310.54da1618.pj@sgi.com> (raw)
In-Reply-To: <1164557189.10306.12.camel@athrose>
Felix wrote:
> The cpu<->scheduler mapping is controlled via cpusets. Thus you
> can switch the scheduler for a cpuset containing multiple cpus and
> keep the rest untouched.
I don't have comments on the main focus of this work - schedulers are
not my expertise.
I just noticed this lkml post because of my interest in cpusets.
You should take a look at the work of Paul Menage (added to the
cc list), who is splitting the cpuset code into:
1) a generic "container" mechanism,
2) separate CPU and Memory "controllers", and
3) various other additional "controllers".
See Paul Menage's most recent patch proposal at:
http://lkml.org/lkml/2006/11/17/217
Subject: [PATCH 0/6] Multi-hierarchy Process Containers
Date: Fri, 17 Nov 2006 11:11:59 -0800
The container mechanism uses a virtual file system derived from
the cpuset code to provide a file system style (hierarchical names
and classic Unix style file and directory permissions) naming of a
partitioning of the tasks on a system.
By partitioning here, I mean a division of the tasks into several
subsets, aka partition elements, which are non-overlapping and covering.
That is, each task is in one and only one of the partition elements,
these partitions elements are named by the directories in the container
file system, and the regular files in the container file system provide
per-element attributes.
Then kernel facilities that can be considered as providing attributes
for and control of subsets of tasks is represented as a controller,
and attached to such a container.
Your dynamic scheduler mechanisms appear (from what I can tell after a
brief glance) to be a candidate for being such a controller.
The upshot of this is that, if your work should proceed and eventually
be considered for inclusion in the kernel (I have --no-- idea if that
would be a good idea, either for the purposes of your student group,
or for the kernel itself) then it would likely (if Menage's work
is accepted) need to be recast as a "controller" in Menage's terms,
not as an extension to cpusets.
If Menage succeeds, that should not actually be that big of a change,
either semantically, or in coding details.
Good luck.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
next prev parent reply other threads:[~2006-11-30 4:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-26 16:06 [RFC] dynsched - different cpu schedulers per cpuset Felix Obenhuber
2006-11-30 4:13 ` Paul Jackson [this message]
2006-11-30 4:48 ` Paul Jackson
2006-11-30 8:08 ` Paul Menage
2006-11-30 19:40 ` Felix Obenhuber
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=20061129201310.54da1618.pj@sgi.com \
--to=pj@sgi.com \
--cc=dynsched-devel@lists.sourceforge.net \
--cc=felix@obenhuber.de \
--cc=linux-kernel@vger.kernel.org \
--cc=menage@google.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