Page 1 of 1

Artificial Intelligence project ideas related to OSDev

Posted: Sat Apr 16, 2016 3:02 am
by iocoder
Hi friends!

I'm looking for ideas for an AI project that can be related to osdev. Is there any interesting problem in operating system design that can be solved using AI techniques? By AI techniques, I mean anything that could be put under the umbrella term 'AI'.

Best.

Re: Artificial Intelligence project ideas related to OSDev

Posted: Sat Apr 16, 2016 7:40 am
by embryo2
You can try to implement a scheduler. Multi-threaded, multi-core with a set of optimizations suitable for particular environments like databases, number crunchers, web servers and so on.

Re: Artificial Intelligence project ideas related to OSDev

Posted: Sat Apr 16, 2016 8:42 am
by Muazzam
iocoder wrote:Hi friends!

I'm looking for ideas for an AI project that can be related to osdev. Is there any interesting problem in operating system design that can be solved using AI techniques? By AI techniques, I mean anything that could be put under the umbrella term 'AI'.

Best.
Well, what do you mean by "OSDev"? Does something else count other than scheduling, memory management, and file-system? What about "applied OSDev" things like making typing and writing experience better?

Re: Artificial Intelligence project ideas related to OSDev

Posted: Sat Apr 16, 2016 10:46 am
by onlyonemac
I think an OS that uses some form of AI to manage system resources sounds like an interesting concept, although in practice it might be too unpredictable to be useful and performance will probably be an issue. A simple form of AI would be "self-optimisation" by measuring resource usage and performance and then attempting to adjust weightings in the resource management subsystems to minimise resource usage and maximise performance, and this isn't likely to induce too much of a performance penalty of its own and should be fairly predictable especially as the weightings could be saved/restored and manually adjusted or "frozen" to specific values.

Re: Artificial Intelligence project ideas related to OSDev

Posted: Thu Apr 28, 2016 1:46 pm
by Don
onlyonemac wrote:I think an OS that uses some form of AI to manage system resources sounds like an interesting concept, although in practice it might be too unpredictable to be useful and performance will probably be an issue. A simple form of AI would be "self-optimisation" by measuring resource usage and performance and then attempting to adjust weightings in the resource management subsystems to minimise resource usage and maximise performance, and this isn't likely to induce too much of a performance penalty of its own and should be fairly predictable especially as the weightings could be saved/restored and manually adjusted or "frozen" to specific values.
I do exactly this -- but for very coarse resource management (e.g., "should I bring another processor online, now?") and to evaluate "apparent successes" (e.g., the results of a particular task binding).

And, yes, performance is an issue -- you can't make these sorts of decisions at run-time; but, you can review your past decisions and use that information in an expert system to refine your choices for future decisions. For example, if binding a particular set of tasks to a processor node resulted in none of them missing deadlines, then that might be a good choice for the next similar scheduling/task binding decision. OTOH, if several tasks missed their deadlines -- or, achieved very low "value functions" -- you might want to try something different, next time.

This makes sense if you have periodic and "typically repeating" workloads -- why go through the entire decision making process, again, each time you have to make the decision? Why not save what you learned from the previous time you made the decision? (esp as many problems are NP-hard and can't be definitively solved).

And, if you have the AI framework in place (because you are using it in your applications to manage the resources that the user perceives), then there is little cost in leveraging that capability FBO the OS!

Re: Artificial Intelligence project ideas related to OSDev

Posted: Sat Apr 30, 2016 11:58 am
by ggodw000
process scheduling, priority etc., i think would be a great decision.
How about generating coding documentation generation.
Also there are some technologies about placing the certain processes closer to certain core etc., based on which area of the memory it is loaded (NUMA) to further refine and speed up the application speed. Might be a good candidate.

Re: Artificial Intelligence project ideas related to OSDev

Posted: Sun May 01, 2016 2:03 pm
by onlyonemac
ggodw000 wrote:Also there are some technologies about placing the certain processes closer to certain core etc., based on which area of the memory it is loaded (NUMA) to further refine and speed up the application speed. Might be a good candidate.
Depending on how you define it, that's not strictly AI. In terms of AI, I was thinking of things involving learning algorithms, neural networks, evaluation of past behaviour, and so on; what you're describing possibly falls more into the category of a highly-optimised algorithm.

Re: Artificial Intelligence project ideas related to OSDev

Posted: Tue May 03, 2016 12:18 am
by willedwards
NN may be applied to intrusion detection. An NN may be able to learn the expected behaviour of a system (from its network interaction, or from an strace, or doubtless other inputs) and flag suspicious activity.

A nice roundup: http://security.stackexchange.com/quest ... -detection

Re: Artificial Intelligence project ideas related to OSDev

Posted: Mon May 16, 2016 7:37 am
by onlyonemac
willedwards wrote:NN may be applied to intrusion detection. An NN may be able to learn the expected behaviour of a system (from its network interaction, or from an strace, or doubtless other inputs) and flag suspicious activity.

A nice roundup: http://security.stackexchange.com/quest ... -detection
That indeed sounds very interesting, but it doesn't happen at the OS level (nor do I think it should, unless you've got a *very* monolithic kernel).

Re: Artificial Intelligence project ideas related to OSDev

Posted: Tue May 17, 2016 8:36 am
by SWGDev
It depends on AI's complexity, but I doubt that you can call it AI when it comes to internal OS processes. Anyway, the subject is pretty vague.

Re: Artificial Intelligence project ideas related to OSDev

Posted: Fri Jun 10, 2016 1:51 am
by ggodw000
With AI hitting so much hype and news, feel like studying at least a bit just for the fun of it. For system level developers, AI seems completely different area, but I am looking to find some justification.
Perhaps studying AI can give more insight on how the system level design/architecture can be tailor/optimize for AI.