Home arrow Forums
OSDEV Forums  


Hery_Sasta
User

Fresh Osdever
Posts: 3
graphgraph
Karma: 0  
Artificial Intelligence - 2006/09/10 14:25 Hi!
I want to describe my idea which can make operating system more safety, stable and efficacy. I thnik about artificial intelligence. Of course not about chatterbots like ALICE, but about neural networks and similar gadgets.
Neural network can be used in schedluer. It will be able to decide how to run process including informations about number of activated processes, speed of CPU, and type of program (for example program which have an access to tty0 will be run for short time but often).
Expert system can be used in odd situations. For example if exception occurs system will do the best solution. If it slove problem it will get a point. The best solution is chosen using this points. In very strange situations system can use genetics algorithm. Solution will evolve and the best will be chosen. But possibility of checking which solution is the best will be needed.

Of course it is not all. But I only want to bring closer my idea. I'm waiting for opinions.

Post edited by: Hery_Sasta, at: 2006/09/10 15:26
  | | The administrator has disabled public write access.
OSDEV
Community
Advertisement
   
gaf
User

Platinum Osdever
Posts: 153
graph
Karma: 10  
Re:Artificial Intelligence - 2006/09/10 15:54 Neural network can be used in schedluer. It will be able to decide how to run process including informations about number of activated processes, speed of CPU, and type of program (for example program which have an access to tty0 will be run for short time but often).

Hello,
scheduling algorithms have to be very efficient (and thus simple) as the time-slices themselves are rather short (20-50ms). Using neural networks, it would probably just take too much time to find out which task shall run next: Before the decision is made, half of the time-slice might already have elapsed..

Expert system can be used in odd situations. For example if exception occurs system will do the best solution. If it slove problem it will get a point. The best solution is chosen using this points.
That's more realistic in my opinion. It should also be possible to resolve device-resource conflicts or program interdependecies using a similiar approach.

In very strange situations system can use genetics algorithm. Solution will evolve and the best will be chosen. But possibility of checking which solution is the best will be needed.
It's a bit difficult to imagine how/where such a genetic algorithm could be used. Do you have any more concrete examples ?

As a kernel algorithm artificial intelligence is probably too expensive. It could however be used to assist the user or help him making decisions. Another possible implementation could be a user-interfaces that adapt to the user's need (eg: remembering which apps are used often) or allow him to communicate with the system in a more natural/comfortable way (eg: intelligent consoles).

regards,
gaf
  | | The administrator has disabled public write access.
DRF
Visitor
 
Re:Artificial Intelligence - 2006/10/19 06:54 I've looked into combining Artificial Intelligence with Operating System concepts before, but i had difficulty thinking of anywhere that it provided an improved performace. The extra overheads involved in the AI code counters any improvements gained.

However if you could find a way to turn off the AI after a few runs but keep any solutions it found you might get some improvements. But a dynamic constantly adjusting setup with an active AI always optimising performance isn't benificial in most lowlevel code. But i'd be happy to be proved wrong and for you to find somewhere that it would help.

Daniel
  | | The administrator has disabled public write access.

A WebArticles site. Sponsored by Evoleto. Motorola V525 / Business Directory / Delaware Incorporation / Home Made Bazaar