Suggestion Raised For Using PGO + LLVM BOLT To Optimize More Fedora Packages

Written by Michael Larabel in Fedora on 22 October 2024 at 06:33 AM EDT. 11 Comments
FEDORA
Outside of the likes of the Arch Linux based CachyOS and Intel's Clear Linux there aren't too many distributions that widely rely on aggressive compiler optimizations in the name of bettering the system performance. A suggestion was raised recently though for Fedora to use profile-guided optimizations (PGO) and post-link optimizations with the likes of LLVM BOLT for more packages, but at this stage it's not clear if such a shift in Fedora package optimizations will actually materialize.

LLVM's BOLT developed by Meta for optimizing the binary layout of compiled software has shown to be able to deliver nice performance gains. Meta has shown over the past several years the very nice performance benefits:

BOLT kernel benchmarks


Using PGO with both LLVM Clang and GCC has also proven to be a valuable affair assuming you are able to collect accurate profiles of the application/software being compiled. But both approaches to relying on the compiler to provide faster, more optimized binaries places an additional burden on packagers and mandate further testing. It's rather uncommon seeing Linux distributions applying these compiler optimization techniques at scale.

There was a Fedora discussion raised to begin using PGO and LLVM BOLT for more packages and now moved over to the Fedora devel list.

So far not much commentary and hasn't been filed as any official Fedora change proposal. At this point it seems to be more staged as just an idea rather than the basis of an actual change proposal or commitment to engage in the work for carrying out more tuned packages. But in any event a worthy discussion that will hopefully be had about offering more optimized packages so that no performance is left behind.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week