~/talk

Profile Inference Revisited

Talkat POPL 2022 · 2022-01-16..01-22· [compilers-and-language-design]
name:Wenlei He
links:none on file
links:none on file
links:none on file
name:Lei Wang
links:none on file
links:none on file
slides:none on file

Sampling-based PGO produces incomplete CFG counts and profile inference is NP-hard and hard to approximate, so a new algorithm called profi reconstructs vertex and edge flows by extending minimum-cost flow models, handling dangling blocks and branch-probability hints. It is implemented in LLVM, runs in a few milliseconds on thousand-node functions, closes much of the gap versus instrumentation, yields typical speedups of 3–4% on Facebook and SPEC CPU workloads, and raises an empirical profile-quality metric to about 0.9.

AI-written summary · about

  1. 0:00Intro
  2. 0:24Profile-Guided Optimization (FGO)
  3. 3:29Importance of High Quality Profile Data
  4. 4:50What is Profile Data?
  5. 7:17Challenges
  6. 10:28Formal Model
  7. 14:17Implementation
  8. 16:59Recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.