<div dir="ltr"><div dir="ltr">Hi All,<div><br></div><div>I've listed the current topics of interest below, along with some notes on each. We only have 30 minutes so we'll barely scratch the surface of these during the BoF itself. My main aims are for you to meet each other, identify potential areas of collaboration, identify things that I can do to unblock you, and get the ball rolling on some conversations that we can continue on the mailing lists. It looks like we'll have an opportunity to set up impromptu meet-ups too (see <a href="https://www.youtube.com/watch?v=Qpbefagv6Ts">https://www.youtube.com/watch?v=Qpbefagv6Ts</a>) so if you want to do a deeper dive on a topic area we can set one or more of those up -- just let me know in this thread.</div><div><br></div><div>Topics so far:</div><div><br></div><div>A very brief status update on OrcV2 and JITLink.</div><div><br></div><div>Future / Potential use-cases for the JIT.</div><div> -- LLDB, the Swift interpreter, REPLs.</div><div><br></div><div>Compile time improvements</div><div> -- Experimenting with / performance-testing custom JIT pipelines (any volunteers?)</div><div> -- Compile-time improvements for the existing pipeline. This is probably a broad community project, but JIT users might have interesting workloads / results to contribute.</div><div> -- Hiding compile times with concurrency.</div><div><br></div><div>Profiling, Debugging, PGO</div><div> -- Profiling and Debugging support (especially via JITLink)</div><div> -- How do we integrate PGO (any volunteers to experiment with this?)</div><div><br></div><div>Reoptimization</div><div> -- What it is.</div><div> -- Any volunteers to start working on API design and experiments?</div><div> -- Is resource management a problem (do we need to free unoptimized code) and if so how do we make it safe?</div><div><br></div><div>I'll add another of my own topics in here:</div><div><br></div><div>Documentation</div><div> -- What would make life better for Orc beginners?</div><div> -- What would make life better for Orc experts?</div><div> -- What would make it easier for you to contribute to Orc?</div><div> -- Any volunteers to help with the documentation effort?</div><div><br></div><div>Looking forward to seeing you all on Thursday.</div><div><br></div><div>-- Lang.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 2, 2020 at 11:21 AM Andres Freund <<a href="mailto:andres@anarazel.de" target="_blank">andres@anarazel.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On 2020-10-02 10:44:43 -0700, Lang Hames wrote:<br>
> Sounds good to me. I think there are two sub-topics here:<br>
> (1) JIT specifics. E.g. What default optimization pipelines should we<br>
> provide in the JIT? The standard 0/1/2/3/s options, or would it make sense<br>
> to develop something JIT specific?<br>
<br>
Yea. I've some hopes for "new PM" making it easier to have maintainable<br>
and customizable pipelines. I've not played around with it too much -<br>
largely because there's no C API last time I checked.<br>
<br>
<br>
<br>
> (2) General compile time improvements. Everyone will benefit from compile<br>
> time improvements, but JIT clients are likely to be extra sensitive to it.<br>
> Have we identified any problem areas or redundancies that would be of<br>
> interest to the broader LLVM community, and that we could solicit help in<br>
> fixing.<br>
<br>
I'd guess that some of the things that can be done to significantly<br>
improve JIT performance aren't generally applicable to most other uses<br>
of LLVM. E.g. the overhead of redoing the same analyses for code gen is<br>
mostly an issue on higher optimization levels, and I assume that a large<br>
portion of e.g. clang users using -O3 will do LTO. Where a split between<br>
optimization and code gen seems necessary in number of cases.<br>
<br>
<br>
> > Possibly also related to LLJIT design - having LLJIT first generate<br>
> > minimally optimized code and then, while that is in use, doing optimization<br>
> > and optimized codegen concurrently, would be neat. It feels like that'd<br>
> > fit well into LLJIT, given that it already provides things like<br>
> > background compile threads.<br>
> <br>
> <br>
> Absolutely. Supporting this use-case was one of the motivations for the<br>
> concurrency support in OrcV2. It's doable at the moment, but it requires a<br>
> fair bit of manual work on the client's part. Implementation and API design<br>
> in this area seem like good topics.<br>
<br>
Cool.<br>
<br>
Greetings,<br>
<br>
Andres Freund<br>
</blockquote></div>