Kernel development tools (was Re: Software Prefetching using Machine learning)

2019-10-09 Thread Valdis Klētnieks
On Thu, 10 Oct 2019 11:48:11 +0900, Irfan Ullah said: > @All,* There is one thing I want to share, although it is not too relevant > but worth to share,* that very limited number of *easy-to-use-&-understand* > tools and libraries available to welcome and facilitate the > newbies/freshmen in the

Re: Software Prefetching using Machine learning

2019-10-09 Thread Valdis Klētnieks
On Thu, 10 Oct 2019 11:48:11 +0900, Irfan Ullah said: > it can it be possible to share any type of data structure (e.g., structure, > array, etc.) between kernel space C program and user space Python program > in two way communication. Python's split() is probably the wrong tool here. You

Re: Software Prefetching using Machine learning

2019-10-09 Thread 울라 이르판
Also, I have one question, here, in this link , C is used in the kernel space while Python in the user space. Python program in the user space successfully catches the char[] data, although it

Re: Software Prefetching using Machine learning

2019-10-09 Thread 울라 이르판
Thank you for the responses. It is not my assignment. Actually, we have initiated a project based on the idea "incorporating artificial intelligence in the linux kernel to increase its performance". The basic aim of the project to increase the operating system's performance utilizing software

Re: Software Prefetching using Machine learning

2019-10-09 Thread Ruben Safir
On 10/9/19 3:08 PM, Valdis Klētnieks wrote: > Ah, academia - where novelty of an idea is sufficient to get published, and > considerations > of whether it's a *useful* idea are totally disregarded. or better, it will be built into systemd! -- So many immigrant groups have swept through our

Re: Software Prefetching using Machine learning

2019-10-09 Thread Ruben Safir
On 10/9/19 3:08 PM, Valdis Klētnieks wrote: > Ah, academia - where novelty of an idea is sufficient to get published, and > considerations > of whether it's a *useful* idea are totally disregarded. like thermal dynamics, relativity, quantum mechanics, paleontology, biological computational

Re: Predicting Process crash / Memory utlization using machine learning

2019-10-09 Thread prathamesh naik
Thanks a lot for sharing. One of the problem I am facing is not having enough actual data. I can create simulated data but it is overfitting my algorithm. Second problem is I am not sure what all factors (called features in ML terms) are useful for pattern creation. Some of the factors I could

Re: Predicting Process crash / Memory utlization using machine learning

2019-10-09 Thread Valdis Klētnieks
On Wed, 09 Oct 2019 01:23:28 -0700, prathamesh naik said: > I want to work on project which can predict kernel process > crash or even user space process crash (or memory usage spikes) using > machine learning algorithms. This sounds like it's isomorphic to the Turing Halting

Re: Software Prefetching using Machine learning

2019-10-09 Thread Valdis Klētnieks
On Wed, 09 Oct 2019 12:37:51 +0900, Irfan Ullah said: > Thanks in advance. I am a PhD candidate, and currently I have started > working on kernel development. My professor told me to implement this paper > . In this paper authors have used machine > learning to

Re: Are there global constructors in the Linux kernel?

2019-10-09 Thread Konstantin Andreev
Hi, Cristian. There are, a kinda of ... kernel/taskstats.c: | late_initcall(taskstats_init); kernel/rcu/update.c: | early_initcall(check_cpu_stall_init); There is a whole set of macros STAGE_initcall() in include/linux/init.h Arguments to these macros invokations are accounted and called by

Predicting Process crash / Memory utlization using machine learning

2019-10-09 Thread prathamesh naik
Hi all, I want to work on project which can predict kernel process crash or even user space process crash (or memory usage spikes) using machine learning algorithms. Can someone point me what all data can be useful for tuning my algorithm ? is there already paper on this (could not

Re: Software Prefetching using Machine learning

2019-10-09 Thread Greg KH
On Wed, Oct 09, 2019 at 12:37:51PM +0900, Irfan Ullah (울라 이르판) wrote: > Dear All, > Thanks in advance. I am a PhD candidate, and currently I have started > working on kernel development. My professor told me to implement this paper > . In this paper authors have

Re: Are there global constructors in the Linux kernel?

2019-10-09 Thread Giovanni Mascellani
Hi, [sending again after having replied just to the OP by mistake, sorry!] Il 09/10/19 05:44, CRISTIAN ANDRES VARGAS GONZALEZ ha scritto: > The gcc compiler searches for this function to run my program, but > before that happens, I can use the global constructors and write a code > that runs