With the recently released GCC 15 (GCC 15.1) compiler besides adding new language features, enhancements to help developers in debugging build failures, and other refinements, there is the never-ending quest of compiler performance optimizations. Since the recent GCC 15.1 release candidate I’ve been testing this annual compiler feature release on more hardware, including several AMD 5th Gen EPYC “Turin” servers to great success compared to the prior GCC 14 stable series.
For your viewing pleasure today are some benchmarks I recently wrapped up comparing GCC 14.2 stable to the GCC 15.1 release candidate using an AMD EPYC 9655(P) within the Supermicro H13SSL-N 4U server build. Ubuntu 24.10 was running on this EPYC Turin server while manually upgraded to the Linux 6.13 kernel.
Both GCC 14.2 and GCC 15.1 RC1 were built from source in the same exact manner each time followed by building all of the open-source benchmarks under test. During the benchmarking process the CFLAGS/CXXFLAGS were maintained the same with “-O3 -march=native -flto” set for all of the benchmarks being built. Let’s dive in to see how GCC 15.1 is looking over GCC 14 on this 96-core AMD EPYC Zen 5 server.