AMD Zen 2 Performance Looking Even Better With GCC 10

Written by Michael Larabel in Software on 2 August 2019 at 10:26 AM EDT. Page 2 of 5. 22 Comments.
Ryzen 9 3900X Znver2 Compiler Tuning

Right off the bat in the first test we happened to run, when using Znver2 on GCC 10 we saw a 3% increase in performance compared to the generic "-O3" targeting. With Znver2 on GCC 9 meanwhile was just a half-percent difference.

Ryzen 9 3900X Znver2 Compiler Tuning

In Sockperf's latency test, the Znver2 optimizations didn't make a measurable difference but GCC 10 does seem to be yielding a faster binary compared to GCC 9.

Ryzen 9 3900X Znver2 Compiler Tuning

With HPC Challenge, the Linkpack performance was roughly the same across the tested compiler configurations.

Ryzen 9 3900X Znver2 Compiler Tuning

The Znver2 optimizations did pay off for the G-Ptrans test.

Ryzen 9 3900X Znver2 Compiler Tuning
Ryzen 9 3900X Znver2 Compiler Tuning
Ryzen 9 3900X Znver2 Compiler Tuning

In several of the compression/decompression benchmarks, the Znver2 performance under GCC 10 actually regressed. It looks like some more tuning could still be needed for the Zen 2 compiler support.


Related Articles