The Performance Impact To AMD Zen 2 Compiler Tuning On GCC 9 + Znver2

Written by Michael Larabel in Software on 11 July 2019 at 10:28 AM EDT. Page 2 of 4. 36 Comments.
Znver2 GCC9 Compiler Tests

Here is the radar chart to get started in immediately getting an idea for the situation. In some workloads, the znver1 vs. znver2 tuning on Ryzen 9 3900X can yield a few percent difference.

Znver2 GCC9 Compiler Tests

With this FFT benchmark, using the Znver2 target allowed about a 4% boost to the performance.

Znver2 GCC9 Compiler Tests

In the SciMark micro-benchmarks that are very sensitive to compiler changes, using Znver2 allowed an 18% boost to the performance over Znver1 target on the 3900X CPU.

Znver2 GCC9 Compiler Tests

But in some workloads like the TSCP chess benchmark, using Znver2 actually regressed the performance.


Related Articles