The Performance Cost To A Proposed Fedora 37 CFLAGS/CXXFLAGS Change

Written by Michael Larabel in Software on 27 June 2022 at 09:30 AM EDT. Page 2 of 5. 45 Comments.

I loaded dozens of different open-source benchmarks/workloads for testing the impact of the "-fno-omit-frame-pointer" flag from open-source games to more technical computing workloads. It didn't take long for finding this option having some impact on the overall performance of the software being built with this flag -- just the software under test and not the entire OS rebuild as the F37 change proposal is encouraging.

In some of the tested workloads the addition of "-fno-omit-frame-pointer" did have very little impact on performance.

Meanwhile in the Botan crypto library is where this compiler flag led to the most significant performance regressions. Across various crypto algorithms tested, the Botan performance was destroyed by this compiler flag.


Related Articles