From: Jean Wolter <jw5@os.inf.tu-dresden.de>
To: Ingo Molnar <mingo@elte.hu>
Cc: Sam Mason <mason@f2s.com>, shreenivasa H V <shreenihv@usa.net>,
<linux-kernel@vger.kernel.org>
Subject: Re: Gang Scheduling in linux
Date: 18 Jul 2002 14:43:04 +0200 [thread overview]
Message-ID: <86it3dtdev.fsf@os.inf.tu-dresden.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0207182229460.7854-100000@localhost.localdomain>
Ingo Molnar <mingo@elte.hu> writes:
> On Wed, 17 Jul 2002, Sam Mason wrote:
>
> > The important thing to remember is that this isn't a normal scheduling
> > method, it's used for VERY specialised software which is assumed to have
> > (almost) complete control of the machine. [...]
>
> so how does this differ from a normal Linux system that is used
> exclusively? The specialized tasks will get evenly distributed between
> CPUs (as long as the number of tasks is not higher than the number of
> CPUs), and nothing should interrupt them.
I think as long as there is only one task set, it doesn't matter. But
if you are trying to run several parallel applications at the same
time on the same machine you are trying to schedule them as a gang (at
the same time on different processors) to provide the impression, that
each task set would run alone.
And afaik these applications typically use shared resources which are
protected by some kind of synchronization primitive like (user level)
spinlocks. If one of the processes holds the lock and the kernel
preempts it for some reason no other process needing access to the
shared resource is able to make progress. So the idea is to try to
schedule them all at the same time on different processors to ensure
that blocking time on the shared resource is really short.
regards,
Jean
next prev parent reply other threads:[~2002-07-18 12:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-16 22:54 Gang Scheduling in linux shreenivasa H V
2002-07-18 16:21 ` Ingo Molnar
2002-07-17 17:40 ` William Lee Irwin III
2002-07-18 17:40 ` Ingo Molnar
2002-07-17 17:47 ` William Lee Irwin III
2002-07-17 20:14 ` Sam Mason
2002-07-18 20:08 ` Ingo Molnar
2002-07-17 20:39 ` Sam Mason
2002-07-18 20:32 ` Ingo Molnar
2002-07-17 21:24 ` Sam Mason
2002-07-18 12:43 ` Jean Wolter [this message]
2002-07-19 15:05 ` Hubertus Franke
2002-07-20 16:59 ` Ingo Molnar
2002-07-19 19:25 ` Hubertus Franke
2002-07-19 22:05 ` Richard Gooch
2002-07-22 19:52 ` Hubertus Franke
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=86it3dtdev.fsf@os.inf.tu-dresden.de \
--to=jw5@os.inf.tu-dresden.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mason@f2s.com \
--cc=mingo@elte.hu \
--cc=shreenihv@usa.net \
/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