From: Timothy Miller <miller@techsource.com>
To: David Lang <david.lang@digitalinsight.com>
Cc: Felipe Alfaro Solana <felipe_alfaro@linuxmail.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Use of AI for process scheduling
Date: Mon, 08 Sep 2003 20:34:15 -0400 [thread overview]
Message-ID: <3F5D2007.5030500@techsource.com> (raw)
In-Reply-To: Pine.LNX.4.44.0309081651220.22562-100000@dlang.diginsite.com
David Lang wrote:
>
> the scheduler is by definition a real-time entity, if it takes twice as
> long to make a decision that in itself alters what the correct decision
> should be.
>
My idea is to have the AI work in real-time just like the expert system
would. And I realize that this alters the situation, but it alters the
situation in a constant way. For a given number of context switches,
the same number of scheduling decisions will be made. That means that
if the scheduler takes 100 times as long to decide, then all it will do
is affect both the throughput and the latency in a constant way.
The only time it really matters is when the scheduler decision time
makes something which would APPEAR to be interactive in the compiled
case appear to be non-interactive in the AI case. But that is no
different from using a slower CPU. There are LOTS of things that will
feel smoother on a faster CPU.
So, if we can get a good interactive feel out of the AI case, then you
will only get better results out of the compiled case. Furthermore,
good interactive results out of a fast CPU with the AI would imply good
results out of a slower CPU in the compiled case.
I do realize that the balance is shifted. The proportion of scheduler
computation to user computation is thrown off. (Still, same as using a
slower CPU.) But I don't think it matters. If the scheduler were 100
times slower, it would still require far far less than timeslice
granularity to compute!
next prev parent reply other threads:[~2003-09-09 0:12 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-08 19:28 Use of AI for process scheduling Timothy Miller
2003-09-08 21:55 ` Jeff Sipek
2003-09-08 22:56 ` Timothy Miller
2003-09-08 22:28 ` Felipe Alfaro Solana
2003-09-08 23:01 ` Timothy Miller
2003-09-08 23:57 ` David Lang
2003-09-09 0:34 ` Timothy Miller [this message]
2003-09-09 1:40 ` Robin Rosenberg
2003-09-09 1:57 ` Robin Rosenberg
2003-09-09 15:16 ` Timothy Miller
2003-09-09 15:14 ` Robin Rosenberg
2003-09-08 22:57 ` William Lee Irwin III
2003-09-08 23:06 ` Mike Fedyk
2003-09-08 23:14 ` William Lee Irwin III
2003-09-09 0:22 ` Timothy Miller
2003-09-09 1:05 ` William Lee Irwin III
2003-09-09 15:08 ` Timothy Miller
2003-09-09 17:47 ` William Lee Irwin III
2003-09-09 0:06 ` Timothy Miller
2003-09-09 1:19 ` Rick Lindsley
2003-09-09 15:11 ` Timothy Miller
-- strict thread matches above, loose matches on Subject: below --
2003-09-09 19:05 John Yau
2003-09-08 18:57 Timothy Miller
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=3F5D2007.5030500@techsource.com \
--to=miller@techsource.com \
--cc=david.lang@digitalinsight.com \
--cc=felipe_alfaro@linuxmail.org \
--cc=linux-kernel@vger.kernel.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