Extensive Benchmarks Looking At AMD Znver1 GCC 9 Performance, EPYC Compiler Tuning

Written by Michael Larabel in Software on 20 February 2019 at 11:26 AM EST. Page 5 of 6. 13 Comments.
GCC 9.0 Znver1 x86-64 Linux Compiler Benchmarks

With the Himeno pressure solver, the performance leveled out at -O2.

GCC 9.0 Znver1 x86-64 Linux Compiler Benchmarks
GCC 9.0 Znver1 x86-64 Linux Compiler Benchmarks

Obviously as the optimization level increases, so does the build times. Particularly LTO will drive up the build times quickly (and memory use), but depending upon the workload it can be quite useful.

GCC 9.0 Znver1 x86-64 Linux Compiler Benchmarks

The C-Ray ray-tracer really enjoys -O3 and higher for optimal performance.

GCC 9.0 Znver1 x86-64 Linux Compiler Benchmarks
GCC 9.0 Znver1 x86-64 Linux Compiler Benchmarks

For FLAC audio encoding and Zstd file compression, -Og already does a lot for performance while maintaining the debug-ability of the program.


Related Articles