Get the latest tech news

Guide on optimizing Linux kernel with BOLT


The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. - llvm/llvm-project

In our experiments, BOLT boosted database TPS by 2 percent when applied to the kernel compiled with the highest level optimizations, including PGO and LTO. BOLT runs on a linked binary and reorders the code while combining frequently executed blocks of instructions in a manner best suited for the hardware. By improving the code layout, BOLT can boost the kernel's performance by up to 5% by reducing instruction cache misses and branch mispredictions.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Linux

Linux

Photo of linux kernel

linux kernel

Photo of bolt

bolt

Related news:

News photo

Show HN: Xcapture-BPF – like Linux top, but with Xray vision

News photo

getrandom() In The vDSO Aims For Linux 6.11 To Provide Faster Yet Secure User-Space RNG

News photo

Creating My Own Linux-Based Smart TV