GCC 7.3 vs. GCC 8.0 vs. LLVM Clang 6.0 On The POWER9 Raptor Talos II

Written by Michael Larabel in Free Software on 3 April 2018 at 10:14 AM EDT. 5 Comments
As part of the remote testing of the Raptor Talos II Workstation that is comprised of fully free software down to the firmware and powered by high-end POWER9 processors, over Easter weekend I carried out some GCC vs. Clang benchmarks.

I'm still working on the POWER9 vs. Xeon vs. EPYC benchmarks on Debian Testing for publishing in the next day or two, but for those curious, below are some POWER9 compiler benchmark comparisons.

The stock compiler on Debian Testing was GCC 7.3.0 (though note it's --with-cpu= is configured by default for POWER8, not POWER9), then tested when building GCC 8.0.1 from source on 31 March though with configuring for the POWER9 processor explicitly, and then again when building the release source for LLVM Clang 6.0.

For the most part, LLVM Clang does a good job keeping up with GCC on 64-bit POWER9.

The Clang difference with CacheBench was certainly surprising and is to be investigated.

Clang 6.0 had problems building a few tests like 7-Zip on POWER9.

And in some computational tests, GCC still commands a sizable victory.

Between GCC 7.3 and GCC 8.0.1, the performance is largely the same even with switching to --with-cpu=power9 in the process.

In some workloads, GCC8 is faster on this free software system.

Clang was much faster with MP3 encoding using LAME on POWER.

GCC was slightly faster with OpenSSL signing.

Clang was slightly better with Redis.

Anyhow, while waiting for our Xeon vs. EPYC vs. POWER9 benchmark results, you can dig through more of these compiler benchmarks via this OpenBenchmarking.org result file.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week