Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hB2VT-0008NC-Tl for pgsql-general@arkaria.postgresql.org; Mon, 01 Apr 2019 19:22:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hB2VR-0003Cv-Hl for pgsql-general@arkaria.postgresql.org; Mon, 01 Apr 2019 19:22:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hB2VR-00038o-0x for pgsql-general@lists.postgresql.org; Mon, 01 Apr 2019 19:22:05 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hB2VK-0003Jw-Fy for pgsql-general@lists.postgresql.org; Mon, 01 Apr 2019 19:22:03 +0000 Received: by mail-pg1-x543.google.com with SMTP id u9so5246064pgo.7 for ; Mon, 01 Apr 2019 12:21:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=efky9Ldvpuhw1pgqRcxHYJkxVSoo6uPs/MzUV8TdASI=; b=oRHav6szRIVW6F+hbOjpVZidrXr2WUA+Rz9k0e0upWrzZLX0x/flM0dj0bv/RFREQj wAyTm6eJSiRJRNF8yrB3RMjhqlyvExzwObZzfNj5FxSUABKdC+VXFzAh1AoY/qEc9ijH ChPf0tmRBcwgXSHKa7Cf5Cmyb6Fp9QgEL519gHqO/Fnnl/FUY506tcsGtSiWyiBAjoa6 UXpmusgKnYseMxLiBTGXnttUxQv+Tnvd5SJwn+JfKtsQVxZKx+MQurLd3IHrShfvQM1m fbwfB2Q2RG/4hC5IuwNZqnHuh+JJXwX8rmqZQOxYH7GJGM5IoiEDFKYj4Ht+iPzD9mHV sryw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=efky9Ldvpuhw1pgqRcxHYJkxVSoo6uPs/MzUV8TdASI=; b=dBAt3PW3uGZ2WcMlOTx9xDZbuIwQr0/jGOXfY1TUeJ0LjKGyCRvMGnnUe1Ucl4YiI+ vELiZzW4t93F+wcgldQupcbJhzHo07Sx0DQK1yQAIq3KE7r7kCiCAAu1bloISCll3TFc /n5rSCtAaRC1S79JMVmCnEao+Pff0erEZxxnkubYTJyuzfzdv8FaPLXjz7GFwU39d0Xj 5Icn3LNiN7TqNSVkF34KPSAzB+eCDdw4shYwaRxHrDjSnIqj6Jjctx8E145a4oet7/77 zZg9KZ5byoumUpaY/MUuyZw5LKXfVcabcODw7yxXiHQ4lGVpIElqFVh1yuQ72PCPoQCk B96w== X-Gm-Message-State: APjAAAUBUQRm/P4WaDMOS8hEjRTE846BzN/GHWYxu+WTdayvfahV1mXh miyGdBDZJ6M2jIYsmifiqrwbHCMzC9k= X-Google-Smtp-Source: APXvYqxJyXfAKH+fkP1US8XWYk2rV97vBILm2Pg8S6zppg1oZwKJxpBudNFvi2s+vJY+G6LPOkfLwg== X-Received: by 2002:aa7:8609:: with SMTP id p9mr64161159pfn.166.1554146516974; Mon, 01 Apr 2019 12:21:56 -0700 (PDT) Received: from [192.168.43.209] ([42.109.148.42]) by smtp.gmail.com with ESMTPSA id j4sm15722109pfn.132.2019.04.01.12.21.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Apr 2019 12:21:56 -0700 (PDT) To: pgsql-general@lists.postgresql.org From: preejackie Subject: New LLVM JIT Features Message-ID: Date: Tue, 2 Apr 2019 00:51:51 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------13496222389DB4B69308A735" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------13496222389DB4B69308A735 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi I'm Praveen Velliengiri, student from India. I'm working on developing a Speculative compilation support in LLVM ORC JIT Infrastructure. As LLVM ORC supports compiling in multiple backend threads, it would be effective if we compile the functions speculatively before they are called by the executing function. So when we request JIT to compile a function, JIT will immediately returns the function address for raw executable bits. This will greatly reduce the JIT latencies in modern multi-core machines. And also I'm working on designing a ORC in-place dynamic profiling support, by this JIT will automatically able to identify the hot functions, and compile it in higher optimization level to achieve good performance. I'm proposing this project for GSoC 2019. It would be helpful to know how this new features are effective to pgsql engine, so that I include your comments in "View from Clients" proposal section. Please reply :) -- Have a great day! PreeJackie --------------13496222389DB4B69308A735 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

Hi

I'm Praveen Velliengiri, student from India. I'm working on developing a Speculative compilation support in LLVM ORC JIT Infrastructure.

As LLVM ORC supports compiling in multiple backend threads, it would be effective if we compile the functions speculatively before they are called by the executing function. So when we request JIT to compile a function, JIT will immediately returns the function address for raw executable bits. This will greatly reduce the JIT latencies in modern multi-core machines. And also I'm working on designing a ORC in-place dynamic profiling support, by this JIT will automatically able to identify the hot functions, and compile it in higher optimization level to achieve good performance.

I'm proposing this project for GSoC 2019. It would be helpful to know how this new features are effective to pgsql engine, so that I include your comments in "View from Clients" proposal section.

Please reply :)

--
Have a great day!
PreeJackie
--------------13496222389DB4B69308A735--