New LLVM JIT Features - Mailing list pgsql-general

From preejackie
Subject New LLVM JIT Features
Date
Msg-id c48c2dce-1290-5972-56be-e7dc89bda909@gmail.com
Whole thread Raw
Responses Re: New LLVM JIT Features  (Praveen Velliengiri <praveenvelliengiri@gmail.com>)
Re: New LLVM JIT Features  (Andres Freund <andres@anarazel.de>)
List pgsql-general

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

pgsql-general by date:

Previous
From: preejackie
Date:
Subject: Re: Test mail for pgsql-general
Next
From: Ron
Date:
Subject: Re: Help with insert query