Oddbean new post about | logout
 [$] AutoFDO and Propeller

Rong Xu and
Han Shen described the kernel-optimization techniques that Google uses in the <a href="https://lpc.events/event/18/sessions/180/#20240918" rel="nofollow">toolchains
track</a> at the <a href="https://lpc.events/event/18/page/224-lpc-2024-overview" rel="nofollow">2024 Linux
Plumbers Conference</a>.
They talked about <a href="https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45290.pdf" rel="nofollow">automatic
feedback-directed optimization</a> (AutoFDO), which can be used with the https://research.google/pubs/propeller-a-profile-guided-relinking-optimizer-for-warehouse-scale-applications/

optimizer to produce kernels with better performance using profile
information gathered from real workloads.  There is a fair amount of
overlap between these tools and the https://github.com/llvm/llvm-project/tree/main/bolt#bolt

post-link optimizer, which was the subject of a https://lwn.net/Articles/993828/
 that directly preceded this session.

https://lwn.net/Articles/995397/