From: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
To: Paul Jackson <pj@sgi.com>
Cc: Dinakar Guniguntala <dino@in.ibm.com>,
"Siddha, Suresh B" <suresh.b.siddha@intel.com>,
Paul Menage <menage@google.com>,
Simon.Derr@bull.net, linux-kernel@vger.kernel.org,
Martin Bligh <mbligh@google.com>,
Rohit Seth <rohitseth@google.com>,
dipankar@in.ibm.com
Subject: Re: [RFC] Cpuset: explicit dynamic sched domain control flags
Date: Tue, 17 Oct 2006 11:43:06 -0700 [thread overview]
Message-ID: <20061017114306.A19690@unix-os.sc.intel.com> (raw)
In-Reply-To: <20061016230351.19049.29855.sendpatchset@jackhammer.engr.sgi.com>; from pj@sgi.com on Mon, Oct 16, 2006 at 04:03:51PM -0700
On Mon, Oct 16, 2006 at 04:03:51PM -0700, Paul Jackson wrote:
> From: Paul Jackson <pj@sgi.com>
>
> I should get agreement from the other folks who care about the
> interaction of cpusets and sched domains before submitting this
> to Andrew for staging in *-mm.
Your post actually reminds me that sched domain setup for exclusive
cpusets are broken in the presence of cpu hotplug. That perhaps
is a different context and will kick a different thread with interested
parties.
> In particular, I remain unsure of myself around the sched domain
> code, and could use some feedback from someone with more of a
> clue on whether I broke something here.
I am not familiar with how job manager uses the cpusets but
the current meaning/usage of 'cpu_exclusive' seems logical to me.
Your current proposal seems to be wrong and broken.
What your patch does is to have overlapping cpusets, lets take for
example 2 cpusets and one cpuset with sched domain and another with
no sched domain.
All is fine(from cpu scheduler perspective) when the cpuset with
sched domain is active and the job in cpuset with no sched domain is
inactive. What happens when the job in the cpuset with no sched domain
becomes active? In this case, scheduler can't make use of all cpus
that this cpuset is allowed to use. This is because schedule domains in
the system are paritioned based on the cpusets which define sched domain.
cpus allowed for this cpuset(which doesnt define sched domain) may be spread
across multiple sched domain partitions and scheduling doesn't happen across
domain partitions.
thanks,
suresh
next prev parent reply other threads:[~2006-10-17 19:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-16 23:03 [RFC] Cpuset: explicit dynamic sched domain control flags Paul Jackson
2006-10-17 18:43 ` Siddha, Suresh B [this message]
2006-10-17 19:18 ` Paul Jackson
2006-10-18 2:01 ` Siddha, Suresh B
2006-10-18 7:05 ` Paul Jackson
2006-10-18 17:50 ` Siddha, Suresh B
2006-10-19 6:30 ` Paul Jackson
2006-10-19 6:39 ` Nick Piggin
2006-10-19 7:03 ` Paul Jackson
2006-10-19 8:09 ` Nick Piggin
2006-10-19 8:15 ` Paul Jackson
2006-10-19 8:18 ` Paul Jackson
2006-10-18 17:49 ` Dinakar Guniguntala
2006-10-19 6:00 ` Paul Jackson
2006-10-19 6:28 ` Paul Jackson
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=20061017114306.A19690@unix-os.sc.intel.com \
--to=suresh.b.siddha@intel.com \
--cc=Simon.Derr@bull.net \
--cc=dino@in.ibm.com \
--cc=dipankar@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@google.com \
--cc=menage@google.com \
--cc=pj@sgi.com \
--cc=rohitseth@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