[$] Kernel optimization with BOLT

Post Syndicated from jake original https://lwn.net/Articles/993828/

A pair of talks in the toolchains
track
at the 2024 Linux
Plumbers Conference
covered different tools that can be used to
optimize the kernel. First up was Maksim Panchenko to describe the binary
optimization and layout tool
(BOLT) that Meta uses on its production
kernels. It optimizes the kernel binary by rearranging it to improve its
code locality for
better performance. A subsequent article will cover the second talk, which
looked at automatic
feedback-directed optimization
(AutoFDO) and other related techniques
that are used to optimize Google’s kernels.