From: Timothy Miller <miller@techsource.com>
To: Felipe Alfaro Solana <felipe_alfaro@linuxmail.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Use of AI for process scheduling
Date: Mon, 08 Sep 2003 19:01:21 -0400 [thread overview]
Message-ID: <3F5D0A41.9090807@techsource.com> (raw)
In-Reply-To: 1063060111.1224.2.camel@teapot.felipe-alfaro.com
Felipe Alfaro Solana wrote:
> On Mon, 2003-09-08 at 21:28, Timothy Miller wrote:
>
>
>>Basically, we need to write and install into the kernel an AI engine
>>which uses user feedback about the "feel" of the system to adjust
>>heuristics dynamically. For instance, if the user sees that the system
>>is misbehaving, they can pause the system in the kernel debugger,
>>examine process priorities, and indicate what "outputs" from the AI
>>engine are wrong. It then learns from that. Heuristics can be tweaked
>>until things run as desired. At that point, scheduler developers trade
>>emails in the AI heuristic language.
>
>
> I'm no kernel expert but I think that doing what you suggest would take
> an enormous amount of time and resources to do. Also, the scheduler must
> be a real-time piece of software, and needs to take decisions as fast
> and as accurately as possible. I think that implementing an IA-like
> engine would take an great deal of resources. By the time the IA-like
> scheduler has taken its decision, the whole world could have changed
> since.
The AI scheduler is only used for _development_.
For deployment, the rules learned from the AI scheduler are converted to
C code (or compiled directly to machine language) and used in real-time.
I don't expect the rules to be so complex that the C version would use
much more CPU than the current interactive schedulers being worked on by
Con, Ingo, and Nick.
During development, the AI scheduler would be used in real-time, and
that would have a significant effect on the performance of the system.
But since it's a constant, the relative interactive behavior should be
about the same between AI and deployed versions, even though the AI
version uses a lot more CPU time in the kernel. That is, if the system
works well with the AI scheduler, it'll work even BETTER with the
compiled version.
next prev parent reply other threads:[~2003-09-08 22:39 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 [this message]
2003-09-08 23:57 ` David Lang
2003-09-09 0:34 ` Timothy Miller
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=3F5D0A41.9090807@techsource.com \
--to=miller@techsource.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