From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 241AEC47404 for ; Thu, 10 Oct 2019 02:49:47 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C1CE720B7C for ; Thu, 10 Oct 2019 02:49:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=dke-khu-ac-kr.20150623.gappssmtp.com header.i=@dke-khu-ac-kr.20150623.gappssmtp.com header.b="hZf7QZGC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C1CE720B7C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=dke.khu.ac.kr Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92.3) (envelope-from ) id 1iIOW8-0003kw-4P; Wed, 09 Oct 2019 22:49:28 -0400 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.3) (envelope-from ) id 1iIOW6-0003kq-EY for kernelnewbies@kernelnewbies.org; Wed, 09 Oct 2019 22:49:26 -0400 Received: by mail-lj1-x22a.google.com with SMTP id y3so4545698ljj.6 for ; Wed, 09 Oct 2019 19:49:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dke-khu-ac-kr.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=O1Bx1FV2ugz4H/jPE9IhijI8KpxD37gTKsv3AEH8DRQ=; b=hZf7QZGCpuN4jsPe9sTCbJk6yhOBInZfE4VmGLxqI0a27hn9888Kb1i6REyJrQXG2X 1oM/3Aoqt4Ud0xR7HgbJ7vYxJW2fZHLeNSlAggUm8eJYIIGC6IeiwMGAdffV8D0xSNXT Y+izbuUukNwzL/Pzjs/IWa1UeZi19R25BqvRHpV2W5wq817kfuZW4HA1xRuawGTuZwqb DXnQM/qWvyg2LvrcwrEIzxgaaxSmsfOIW4N8C09XwiOA8+FBermgouYfRdJXZo+YJMe0 SGIVGGLpblcIkAZuyM6U3s181v6XawhIhxjNJzf+RdLfrSXZfOCb2c8+PKwfbvjNVPMJ TpwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O1Bx1FV2ugz4H/jPE9IhijI8KpxD37gTKsv3AEH8DRQ=; b=OjebXb+rDOjw/D6PCEnfZG8V7OjB8Zv5n7Q0cdPokdHeZuJVlpl1kGXIL2LIwzJatV giwRXqVZd3xa+LtEfdGGf/LyezJvsqj9efFM1Lhaz2D2MAzH4SCFTpf/924kFiIdCvtd mg/3LU6qcZSeuDkUzABLljW42yVg/oSunF5jRkCwwJe6491bIhE0vKpbkp6la+ArPAjC 2YiatqHsHxiCM9lF6SQyLgTROaY7VUsU/+93s6GcqWGR/m3NJzVmfGwN/b3I5vVP7pxU mtRpc+vPN6nwbYvgyLX/W/nGpu1DtVCbm77s/Ucd3hLGzvkrzmyuI4JfWnxm8PxDJAyk YXtg== X-Gm-Message-State: APjAAAV7ObYsXJ6q+kxfxiSbcnFRmUELDEH2lNX7WhBcMJoia4nCRGon Ymf6kakuVZJzXVraimEH3lsRmxwn3IvMIe34MAa+VpWkgWb8Sg== X-Google-Smtp-Source: APXvYqyw0Gq9vPMsmjJo5oOPl37AZItjDuI828zi88LWu0wprbsj64zw8nyLdixHAb1aRAt05NL2ZRZ+sLqQWrDCxoU= X-Received: by 2002:a2e:8893:: with SMTP id k19mr4464438lji.199.1570675704811; Wed, 09 Oct 2019 19:48:24 -0700 (PDT) MIME-Version: 1.0 References: <170918.1570648112@turing-police> In-Reply-To: From: =?UTF-8?B?SXJmYW4gVWxsYWggKOyauOudvCDsnbTrpbTtjJAp?= Date: Thu, 10 Oct 2019 11:48:11 +0900 Message-ID: Subject: Re: Software Prefetching using Machine learning To: Ruben Safir , Valdis Kletnieks Cc: greg@kroah.com, kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8216435945971165374==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============8216435945971165374== Content-Type: multipart/alternative; boundary="0000000000007166160594856fc7" --0000000000007166160594856fc7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 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=C4=93tnieks,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 (=EC=9A=B8=EB=9D=BC =EC=9D=B4= =EB=A5=B4=ED=8C=90) 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, NUM= A > 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 wrote: > >> On 10/9/19 3:08 PM, Valdis Kl=C4=93tnieks 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 > --=20 *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 --0000000000007166160594856fc7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Also, I have one question, here, in this link,=C2=A0 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 cha= racters which I try to remove using split() function. how it can it be poss= ible to share any type of data structure (e.g., structure, array, etc.) bet= ween=C2=A0 kernel space C program and user space Python program in two way = communication.
Thanks.

Furthermore, @ Va= ldis Kl=C4=93tnieks,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=C2=A0we will 1) transfer our ready-made model to the kernel space f= rom user space, or 2) we will=C2=A0develop our own library to utilize machi= ne learning in the kernel space in=C2=A0some way.=C2=A0

@All, There is one thing I want to share, = although it is not too relevant but worth to=C2=A0share,=C2=A0 t= hat very limited number of easy-to-use-&-understand tools and li= braries available to welcome=C2=A0 and facilitate the newbies/freshmen in t= he kernel development as compare to other development environments.=C2=A0= =C2=A0

On Thu, Oct 10, 2019 at 11:10 AM Irfan Ullah (=EC=9A=B8=EB= =9D=BC =EC=9D=B4=EB=A5=B4=ED=8C=90) <irfan@dke.khu.ac.kr> wrote:
Thank you=C2=A0 f= or 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".=20 The basic aim of the project to increase the operating system's perform= ance utilizing software based artificial intelligence techniques without us= ing any type of hardware, and then we will=C2=A0 test our technique on vari= ous hardwares, i.e., classic HDD,SSD, NUMA etc. to observe/compare their pe= rformances. We took a start from prefetching using machine learning.....:)<= /div>

On Thu, Oct 10, 2019 at 9:26 AM Ruben Safir <ruben@mrbrklyn.com> wrote:
On 10/9/19 3:08 PM, Val= dis Kl=C4=93tnieks 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
ht= tp://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
Kernel= newbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailma= n/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.
=C2=A0sahibzada_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.
=C2=A0sahibzada_irfanullah
=
--0000000000007166160594856fc7-- --===============8216435945971165374== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============8216435945971165374==--