Kernel Newbies archive on lore.kernel.org
 help / color / Atom feed
From: "Irfan Ullah (울라 이르판)" <irfan@dke.khu.ac.kr>
To: Ruben Safir <ruben@mrbrklyn.com>,
	Valdis Kletnieks <valdis.kletnieks@vt.edu>
Cc: greg@kroah.com, kernelnewbies@kernelnewbies.org
Subject: Re: Software Prefetching using Machine learning
Date: Thu, 10 Oct 2019 11:48:11 +0900
Message-ID: <CA+mB8OwaC1ZQeX-KHTPeSG00AKE9Jy3mwwDUx15W-uttn9d+PQ@mail.gmail.com> (raw)
In-Reply-To: <CA+mB8OwebNHa4V7bd0L9yVi5LE+NmQfV3O83KepUQsFUSvCBJQ@mail.gmail.com>

[-- Attachment #1.1: Type: text/plain, Size: 3647 bytes --]

Also, I have one question, here, in this link
<https://stackoverflow.com/questions/35876323/python-netlink-multicast-communication-in-kernels-above-4>,
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
has some weird characters which I try to remove using split() function. how
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.
Thanks.

Furthermore, @ Valdis Klētnieks,Thank you very much for your useful
comments about the performance. And I know that Python is slow but it is
machine learning rich library, therefore, after finalizing the method and
machine learning model either we will 1) transfer our ready-made model to
the kernel space from user space, or 2) we will develop our own library to
utilize machine learning in the kernel space in some way.

@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 kernel development as compare to other development
environments.

On Thu, Oct 10, 2019 at 11:10 AM Irfan Ullah (울라 이르판) <irfan@dke.khu.ac.kr>
wrote:

> 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 based artificial
> intelligence techniques without using any type of hardware, and then we
> will  test our technique on various hardwares, i.e., classic HDD,SSD, NUMA
> etc. to observe/compare their performances. We took a start from
> prefetching using machine learning.....:)
>
> On Thu, Oct 10, 2019 at 9:26 AM Ruben Safir <ruben@mrbrklyn.com> wrote:
>
>> 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 town
>> that Brooklyn, like Atlantis, reaches mythological
>> proportions in the mind of the world - RI Safir 1998
>> http://www.mrbrklyn.com
>> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
>>
>> http://www.nylxs.com - Leadership Development in Free Software
>> http://www.brooklyn-living.com
>>
>> Being so tracked is for FARM ANIMALS and extermination camps,
>> but incompatible with living as a free human being. -RI Safir 2013
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies@kernelnewbies.org
>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>
>
> --
> *Best Regards,*
>
>
> *Mr. Irfan Ullah*
> PhD Candidate
> Data and Knowledge Engineering(DKE) Lab
> Department of Computer Science and Engineering
> Kyung Hee University, South Korea.
>  +82-010-591-51651 <+82%2010-3877-8867>
>   sahibzada.iu@gmail.com
>  sahibzada_irfanullah
>


-- 
*Best Regards,*


*Mr. Irfan Ullah*
PhD Candidate
Data and Knowledge Engineering(DKE) Lab
Department of Computer Science and Engineering
Kyung Hee University, South Korea.
 +82-010-591-51651 <+82%2010-3877-8867>
  sahibzada.iu@gmail.com
 sahibzada_irfanullah

[-- Attachment #1.2: Type: text/html, Size: 8060 bytes --]

<div dir="ltr"><div>Also, I have one question, here, <a href="https://stackoverflow.com/questions/35876323/python-netlink-multicast-communication-in-kernels-above-4" target="_blank">in this link</a>,  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 has some weird characters which I try to remove using split() function. how 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.</div><div>Thanks.</div><div><br></div><div>Furthermore, @ Valdis Klētnieks,Thank you very much for your useful comments about the performance. And I know that Python is slow but it is machine learning rich library, therefore, after finalizing the method and machine learning model either we will 1) transfer our ready-made model to the kernel space from user space, or 2) we will develop our own library to utilize machine learning in the kernel space in some way. </div><div><br></div><div>@All,<font color="#ff0000"><b> There is one thing I want to share, although it is not too relevant but worth to share,</b></font>  that very limited number of <b>easy-to-use-&amp;-understand</b> tools and libraries available to welcome  and facilitate the newbies/freshmen in the kernel development as compare to other development environments.  <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 10, 2019 at 11:10 AM Irfan Ullah (울라 이르판) &lt;<a href="mailto:irfan@dke.khu.ac.kr" target="_blank">irfan@dke.khu.ac.kr</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you  for the responses.<div>It is not my assignment. Actually, we have initiated a project based on the idea &quot;incorporating artificial intelligence in the linux kernel to increase its performance&quot;. 

The basic aim of the project to increase the operating system&#39;s performance utilizing software based artificial intelligence techniques without using any type of hardware, and then we will  test our technique on various hardwares, i.e., classic HDD,SSD, NUMA etc. to observe/compare their performances. We took a start from prefetching using machine learning.....:)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 10, 2019 at 9:26 AM Ruben Safir &lt;<a href="mailto:ruben@mrbrklyn.com" target="_blank">ruben@mrbrklyn.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 10/9/19 3:08 PM, Valdis Klētnieks wrote:<br>
&gt; Ah, academia - where novelty of an idea is sufficient to get published, and considerations<br>
&gt; of whether it&#39;s a *useful* idea are totally disregarded.<br>
<br>
<br>
or better, it will be built into systemd!<br>
<br>
<br>
<br>
-- <br>
So many immigrant groups have swept through our town<br>
that Brooklyn, like Atlantis, reaches mythological<br>
proportions in the mind of the world - RI Safir 1998<br>
<a href="http://www.mrbrklyn.com" rel="noreferrer" target="_blank">http://www.mrbrklyn.com</a><br>
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002<br>
<br>
<a href="http://www.nylxs.com" rel="noreferrer" target="_blank">http://www.nylxs.com</a> - Leadership Development in Free Software<br>
<a href="http://www.brooklyn-living.com" rel="noreferrer" target="_blank">http://www.brooklyn-living.com</a><br>
<br>
Being so tracked is for FARM ANIMALS and extermination camps,<br>
but incompatible with living as a free human being. -RI Safir 2013<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><b style="color:rgb(39,78,19)">Best Regards,</b></div><div><b style="color:rgb(39,78,19)"><br></b></div><div><b style="color:rgb(39,78,19)"><br></b></div><div dir="ltr"><b style="color:rgb(39,78,19)">Mr. Irfan Ullah</b><br></div><div dir="ltr"><font color="#666666">PhD Candidate<br></font><div><font color="#666666">Data and Knowledge Engineering(DKE) Lab</font></div><div><font color="#666666">Department of Computer Science and Engineering</font></div><div><font color="#666666">Kyung Hee University, South Korea.</font></div><div><img src="http://teedayusa.com/media/wysiwyg/telephone_icon.gif" style="font-family: arial, sans-serif; font-size: 12.8px;"><span style="font-family:arial,sans-serif;font-size:12.8px"> </span><span style="font-family:arial,sans-serif;font-size:12.8px"><font color="#000000"><a href="tel:+82%2010-3877-8867" value="+821038778867" style="color:rgb(17,85,204)" target="_blank">+82-010-591-51651</a></font></span></div><div><div style="font-family:arial,sans-serif;font-size:12.8px"><img src="http://www.letsplaydodgeball.com/ndo/templates/dj-sport01/images/system/emailButton.png" style="font-size: 12.8px;"><span style="font-size:12.8px"><font color="#000000">  </font></span><span style="font-size:12.8px"><font color="#000000"><a href="mailto:sahibzada.iu@gmail.com" style="color:rgb(17,85,204)" target="_blank">sahibzada.iu@gmail.com</a></font></span></div><div><font face="arial, sans-serif"><span style="font-size:12.8px"><img src="https://docs.google.com/uc?export=download&amp;id=0B1-dY3m3XHQnOFBOM0NSODNoUUU&amp;revid=0B1-dY3m3XHQnUmp1c0ZWTGovR2pYbGZCenlOU29DY3ByQU5RPQ" style="font-size: 12.8px;"></span></font><span style="font-family:arial,sans-serif;font-size:12.8px"> </span><font face="arial, sans-serif"><span style="font-size:12.8px">sahibzada_irfanullah</span></font></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><b style="color:rgb(39,78,19)">Best Regards,</b></div><div><b style="color:rgb(39,78,19)"><br></b></div><div><b style="color:rgb(39,78,19)"><br></b></div><div dir="ltr"><b style="color:rgb(39,78,19)">Mr. Irfan Ullah</b><br></div><div dir="ltr"><font color="#666666">PhD Candidate<br></font><div><font color="#666666">Data and Knowledge Engineering(DKE) Lab</font></div><div><font color="#666666">Department of Computer Science and Engineering</font></div><div><font color="#666666">Kyung Hee University, South Korea.</font></div><div><img src="http://teedayusa.com/media/wysiwyg/telephone_icon.gif" style="font-family: arial, sans-serif; font-size: 12.8px;"><span style="font-family:arial,sans-serif;font-size:12.8px"> </span><span style="font-family:arial,sans-serif;font-size:12.8px"><font color="#000000"><a href="tel:+82%2010-3877-8867" value="+821038778867" style="color:rgb(17,85,204)" target="_blank">+82-010-591-51651</a></font></span></div><div><div style="font-family:arial,sans-serif;font-size:12.8px"><img src="http://www.letsplaydodgeball.com/ndo/templates/dj-sport01/images/system/emailButton.png" style="font-size: 12.8px;"><span style="font-size:12.8px"><font color="#000000">  </font></span><span style="font-size:12.8px"><font color="#000000"><a href="mailto:sahibzada.iu@gmail.com" style="color:rgb(17,85,204)" target="_blank">sahibzada.iu@gmail.com</a></font></span></div><div><font face="arial, sans-serif"><span style="font-size:12.8px"><img src="https://docs.google.com/uc?export=download&amp;id=0B1-dY3m3XHQnOFBOM0NSODNoUUU&amp;revid=0B1-dY3m3XHQnUmp1c0ZWTGovR2pYbGZCenlOU29DY3ByQU5RPQ" style="font-size: 12.8px;"></span></font><span style="font-family:arial,sans-serif;font-size:12.8px"> </span><font face="arial, sans-serif"><span style="font-size:12.8px">sahibzada_irfanullah</span></font></div></div></div></div></div>

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  reply index

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-09  3:37 Irfan Ullah (울라 이르판)
2019-10-09  7:44 ` Greg KH
2019-10-09 19:08 ` Valdis Klētnieks
2019-10-10  0:21   ` Ruben Safir
2019-10-10  0:24   ` Ruben Safir
2019-10-10  2:10     ` Irfan Ullah (울라 이르판)
2019-10-10  2:48       ` Irfan Ullah (울라 이르판) [this message]
2019-10-10  5:43         ` Valdis Klētnieks
2019-10-10  5:51         ` Kernel development tools (was Re: Software Prefetching using Machine learning) Valdis Klētnieks
2019-10-10  6:21           ` Irfan Ullah (울라 이르판)
2019-10-10  6:40             ` Greg KH
2019-10-10 13:22       ` Software Prefetching using Machine learning Rik van Riel

Reply instructions:

You may reply publically 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=CA+mB8OwaC1ZQeX-KHTPeSG00AKE9Jy3mwwDUx15W-uttn9d+PQ@mail.gmail.com \
    --to=irfan@dke.khu.ac.kr \
    --cc=greg@kroah.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=ruben@mrbrklyn.com \
    --cc=valdis.kletnieks@vt.edu \
    /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

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox