Get the latest tech news

Kernel optimization with BOLT (binary optimization and layout tool)


[LWN subscriber-only content] 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.

Please subscribe today to support our work and keep LWN on the air; we are offering a free one-month trial subscription to get you started. But, for large applications that do not spend most of their time in tight loops, the layout of code in memory matters a lot, so BOLT can make a major difference, he said. He and others at Meta ran one of the company's main services on a BOLT-optimized kernel that produced a 2% queries-per-second (QPS) improvement, " which was quite significant".

Get the Android app

Or read this on Hacker News

Read more on:

Photo of kernel

kernel

Photo of bolt

bolt

Photo of binary optimization

binary optimization

Related news:

News photo

CachyOS Explores Optimizing Its Kernel With AutoFDO

News photo

Smart pointers for the kernel

News photo

The magic (image resampling) kernel