Suggestion Raised For Using PGO + LLVM BOLT To Optimize More Fedora Packages
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:
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.
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:
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.
11 Comments