LLVM Clang vs. GCC vs. AOCC - AMD Threadripper
AMD Ryzen Threadripper 1950X compiler benchmarks on Ubuntu Linux for a future article on Phoronix.
Clang 6.0.0
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: Gigabyte X399 AORUS Gaming 7 (F3g BIOS), Chipset: AMD Family 17h, Memory: 16384MB, Disk: 120GB Force MP500, Graphics: MSI AMD Radeon R7 370 / R9 270/370 OEM 4096MB, Audio: Realtek ALC1220, Monitor: VE228, Network: Qualcomm Atheros Killer E2500 Gigabit + Intel Wireless 8265 / 8275
OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180518, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: Clang 6.0.0-1ubuntu2, File-System: ext4, Screen Resolution: 1920x1080
Environment Notes: CXXFLAGS=-O3-march=znver1 CFLAGS=-O3-march=znver1
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Python Notes: Python 2.7.15rc1 + Python 3.6.5
Security Notes: __user pointer sanitization + Full AMD retpoline Protection
Clang 5.0.1
OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180518, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: Clang 5.0.1-4, File-System: ext4, Screen Resolution: 1920x1080
AMD AOCC 1.2
OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180518, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: Clang 6.0.0, File-System: ext4, Screen Resolution: 1920x1080
Environment Notes: CXXFLAGS=-O3-march=znver1 CFLAGS=-O3-march=znver1
Compiler Notes: Optimized build with assertions; Default target: x86_64-unknown-linux-gnu; Host CPU: znver1
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Python Notes: Python 2.7.15rc1 + Python 3.6.5
Security Notes: __user pointer sanitization + Full AMD retpoline Protection
GCC 7.3.0
OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180518, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: GCC 7.3.0, File-System: ext4, Screen Resolution: 1920x1080
Environment Notes: CXXFLAGS=-O3-march=znver1 CFLAGS=-O3-march=znver1
Compiler Notes: --build=x86_64-linux-gnu --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --enable-libmpx --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc=auto --enable-offload-targets=nvptx-none --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --program-prefix=x86_64-linux-gnu- --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-as=/usr/bin/x86_64-linux-gnu-as --with-default-libstdcxx-abi=new --with-gcc-major-version-only --with-ld=/usr/bin/x86_64-linux-gnu-ld --with-multilib-list=m32,m64,mx32 --with-target-system-zlib --with-tune=generic --without-cuda-driver -v
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Python Notes: Python 2.7.15rc1 + Python 3.6.5
Security Notes: __user pointer sanitization + Full AMD retpoline Protection
Clang 7.0 SVN
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: Gigabyte X399 AORUS Gaming 7 (F3g BIOS), Chipset: AMD Family 17h, Memory: 16384MB, Disk: 120GB Force MP500, Graphics: MSI AMD Radeon R7 370 / R9 270/370 OEM, Audio: Realtek ALC1220, Monitor: VE228, Network: Qualcomm Atheros Killer E2500 Gigabit + Intel Wireless 8265 / 8275
OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180518, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: Clang 7.0.0-, File-System: ext4, Screen Resolution: 1920x1080
Environment Notes: CXXFLAGS=-O3-march=znver1 CFLAGS=-O3-march=znver1
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Python Notes: Python 2.7.15rc1 + Python 3.6.5
Security Notes: __user pointer sanitization + Full AMD retpoline Protection
GCC 8.1.0
OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180518, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: GCC 8.1.0, File-System: ext4, Screen Resolution: 1920x1080
Environment Notes: CXXFLAGS=-O3-march=znver1 CFLAGS=-O3-march=znver1
Compiler Notes: --disable-multilib --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Python Notes: Python 2.7.15rc1 + Python 3.6.5
Security Notes: __user pointer sanitization + Full AMD retpoline Protection
AOCC 1.2 - 2 dimm
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: ASUS PRIME X399-A (0601 BIOS), Chipset: AMD Family 17h, Memory: 16384MB, Disk: 240GB Radeon R7 + 16GB USB Flash Drive, Graphics: NVIDIA GeForce GTX 1080 8192MB, Audio: Realtek ALC1220, Monitor: DELL U2414H, Network: Intel I211 Gigabit Connection
OS: Ubuntu 18.04, Kernel: 4.17.0-041700-lowlatency (x86_64), Compiler: GCC 4.8.2 + Clang 6.0.0, File-System: ext4, Screen Resolution: 1920x1080
Environment Notes: CXXFLAGS=-O3 CFLAGS=-O3
Compiler Notes: --disable-bootstrap --enable-languages=c,c++,fortran --enable-plugin
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Python Notes: Python 2.7.15rc1 + Python 3.6.5
Security Notes: __user pointer sanitization + Full AMD retpoline IBPB + SSB disabled via prctl and seccomp Protection
FFTW
FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions. Learn more via the OpenBenchmarking.org test page.
Timed HMMer Search
This test searches through the Pfam database of profile hidden markov models. The search finds the domain structure of Drosophila Sevenless protein. Learn more via the OpenBenchmarking.org test page.
SciMark
This test runs the ANSI C version of SciMark 2.0, which is a benchmark for scientific and numerical computing developed by programmers at the National Institute of Standards and Technology. This test is made up of Fast Foruier Transform, Jacobi Successive Over-relaxation, Monte Carlo, Sparse Matrix Multiply, and dense LU matrix factorization benchmarks. Learn more via the OpenBenchmarking.org test page.
TSCP
This is a performance test of TSCP, Tom Kerrigan's Simple Chess Program, which has a built-in performance benchmark. Learn more via the OpenBenchmarking.org test page.
TTSIOD 3D Renderer
A portable GPL 3D software renderer that supports OpenMP and Intel Threading Building Blocks with many different rendering modes. This version does not use OpenGL but is entirely CPU/software based. Learn more via the OpenBenchmarking.org test page.
GraphicsMagick
Himeno Benchmark
The Himeno benchmark is a linear solver of pressure Poisson using a point-Jacobi method. Learn more via the OpenBenchmarking.org test page.
Stockfish
This is a test of Stockfish, an advanced C++11 chess benchmark that can scale up to 128 CPU cores. Learn more via the OpenBenchmarking.org test page.
ebizzy
This is a test of ebizzy, a program to generate workloads resembling web server workloads. Learn more via the OpenBenchmarking.org test page.
Timed LLVM Compilation
This test times how long it takes to build the LLVM compiler stack. Learn more via the OpenBenchmarking.org test page.
Timed PHP Compilation
This test times how long it takes to build PHP 5 with the Zend engine. Learn more via the OpenBenchmarking.org test page.
C-Ray
AOBench
AOBench is a lightweight ambient occlusion renderer, written in C. The test profile is using a size of 2048 x 2048. Learn more via the OpenBenchmarking.org test page.
Bullet Physics Engine
This is a benchmark of the Bullet Physics Engine. Learn more via the OpenBenchmarking.org test page.
FLAC Audio Encoding
This test times how long it takes to encode a sample WAV file to FLAC format five times. Learn more via the OpenBenchmarking.org test page.
LAME MP3 Encoding
LAME is an MP3 encoder licensed under the LGPL. This test measures the time required to encode a WAV file to MP3 format. Learn more via the OpenBenchmarking.org test page.
libjpeg-turbo tjbench
tjbench is a JPEG decompression/compression benchmark part of libjpeg-turbo. Learn more via the OpenBenchmarking.org test page.
PostgreSQL pgbench
This is a simple benchmark of PostgreSQL using pgbench. Learn more via the OpenBenchmarking.org test page.
NGINX Benchmark
This is a test of ab, which is the Apache Benchmark program running against nginx. This test profile measures how many requests per second a given system can sustain when carrying out 2,000,000 requests with 500 requests being carried out concurrently. Learn more via the OpenBenchmarking.org test page.
Apache Benchmark
This is a test of ab, which is the Apache benchmark program. This test profile measures how many requests per second a given system can sustain when carrying out 1,000,000 requests with 100 requests being carried out concurrently. Learn more via the OpenBenchmarking.org test page.
Clang 6.0.0
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: Gigabyte X399 AORUS Gaming 7 (F3g BIOS), Chipset: AMD Family 17h, Memory: 16384MB, Disk: 120GB Force MP500, Graphics: MSI AMD Radeon R7 370 / R9 270/370 OEM 4096MB, Audio: Realtek ALC1220, Monitor: VE228, Network: Qualcomm Atheros Killer E2500 Gigabit + Intel Wireless 8265 / 8275
OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180518, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: Clang 6.0.0-1ubuntu2, File-System: ext4, Screen Resolution: 1920x1080
Environment Notes: CXXFLAGS=-O3-march=znver1 CFLAGS=-O3-march=znver1
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Python Notes: Python 2.7.15rc1 + Python 3.6.5
Security Notes: __user pointer sanitization + Full AMD retpoline Protection
Testing initiated at 19 May 2018 10:33 by user phoronix.
Clang 5.0.1
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: Gigabyte X399 AORUS Gaming 7 (F3g BIOS), Chipset: AMD Family 17h, Memory: 16384MB, Disk: 120GB Force MP500, Graphics: MSI AMD Radeon R7 370 / R9 270/370 OEM 4096MB, Audio: Realtek ALC1220, Monitor: VE228, Network: Qualcomm Atheros Killer E2500 Gigabit + Intel Wireless 8265 / 8275
OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180518, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: Clang 5.0.1-4, File-System: ext4, Screen Resolution: 1920x1080
Environment Notes: CXXFLAGS=-O3-march=znver1 CFLAGS=-O3-march=znver1
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Python Notes: Python 2.7.15rc1 + Python 3.6.5
Security Notes: __user pointer sanitization + Full AMD retpoline Protection
Testing initiated at 19 May 2018 12:14 by user phoronix.
AMD AOCC 1.2
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: Gigabyte X399 AORUS Gaming 7 (F3g BIOS), Chipset: AMD Family 17h, Memory: 16384MB, Disk: 120GB Force MP500, Graphics: MSI AMD Radeon R7 370 / R9 270/370 OEM 4096MB, Audio: Realtek ALC1220, Monitor: VE228, Network: Qualcomm Atheros Killer E2500 Gigabit + Intel Wireless 8265 / 8275
OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180518, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: Clang 6.0.0, File-System: ext4, Screen Resolution: 1920x1080
Environment Notes: CXXFLAGS=-O3-march=znver1 CFLAGS=-O3-march=znver1
Compiler Notes: Optimized build with assertions; Default target: x86_64-unknown-linux-gnu; Host CPU: znver1
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Python Notes: Python 2.7.15rc1 + Python 3.6.5
Security Notes: __user pointer sanitization + Full AMD retpoline Protection
Testing initiated at 19 May 2018 19:20 by user phoronix.
GCC 7.3.0
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: Gigabyte X399 AORUS Gaming 7 (F3g BIOS), Chipset: AMD Family 17h, Memory: 16384MB, Disk: 120GB Force MP500, Graphics: MSI AMD Radeon R7 370 / R9 270/370 OEM 4096MB, Audio: Realtek ALC1220, Monitor: VE228, Network: Qualcomm Atheros Killer E2500 Gigabit + Intel Wireless 8265 / 8275
OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180518, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: GCC 7.3.0, File-System: ext4, Screen Resolution: 1920x1080
Environment Notes: CXXFLAGS=-O3-march=znver1 CFLAGS=-O3-march=znver1
Compiler Notes: --build=x86_64-linux-gnu --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --enable-libmpx --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc=auto --enable-offload-targets=nvptx-none --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --program-prefix=x86_64-linux-gnu- --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-as=/usr/bin/x86_64-linux-gnu-as --with-default-libstdcxx-abi=new --with-gcc-major-version-only --with-ld=/usr/bin/x86_64-linux-gnu-ld --with-multilib-list=m32,m64,mx32 --with-target-system-zlib --with-tune=generic --without-cuda-driver -v
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Python Notes: Python 2.7.15rc1 + Python 3.6.5
Security Notes: __user pointer sanitization + Full AMD retpoline Protection
Testing initiated at 19 May 2018 21:00 by user phoronix.
Clang 7.0 SVN
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: Gigabyte X399 AORUS Gaming 7 (F3g BIOS), Chipset: AMD Family 17h, Memory: 16384MB, Disk: 120GB Force MP500, Graphics: MSI AMD Radeon R7 370 / R9 270/370 OEM, Audio: Realtek ALC1220, Monitor: VE228, Network: Qualcomm Atheros Killer E2500 Gigabit + Intel Wireless 8265 / 8275
OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180518, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: Clang 7.0.0-, File-System: ext4, Screen Resolution: 1920x1080
Environment Notes: CXXFLAGS=-O3-march=znver1 CFLAGS=-O3-march=znver1
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Python Notes: Python 2.7.15rc1 + Python 3.6.5
Security Notes: __user pointer sanitization + Full AMD retpoline Protection
Testing initiated at 20 May 2018 06:20 by user phoronix.
GCC 8.1.0
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: Gigabyte X399 AORUS Gaming 7 (F3g BIOS), Chipset: AMD Family 17h, Memory: 16384MB, Disk: 120GB Force MP500, Graphics: MSI AMD Radeon R7 370 / R9 270/370 OEM, Audio: Realtek ALC1220, Monitor: VE228, Network: Qualcomm Atheros Killer E2500 Gigabit + Intel Wireless 8265 / 8275
OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180518, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: GCC 8.1.0, File-System: ext4, Screen Resolution: 1920x1080
Environment Notes: CXXFLAGS=-O3-march=znver1 CFLAGS=-O3-march=znver1
Compiler Notes: --disable-multilib --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Python Notes: Python 2.7.15rc1 + Python 3.6.5
Security Notes: __user pointer sanitization + Full AMD retpoline Protection
Testing initiated at 20 May 2018 08:09 by user phoronix.
AOCC 1.2 - 2 dimm
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (16 Cores / 32 Threads), Motherboard: ASUS PRIME X399-A (0601 BIOS), Chipset: AMD Family 17h, Memory: 16384MB, Disk: 240GB Radeon R7 + 16GB USB Flash Drive, Graphics: NVIDIA GeForce GTX 1080 8192MB, Audio: Realtek ALC1220, Monitor: DELL U2414H, Network: Intel I211 Gigabit Connection
OS: Ubuntu 18.04, Kernel: 4.17.0-041700-lowlatency (x86_64), Compiler: GCC 4.8.2 + Clang 6.0.0, File-System: ext4, Screen Resolution: 1920x1080
Environment Notes: CXXFLAGS=-O3 CFLAGS=-O3
Compiler Notes: --disable-bootstrap --enable-languages=c,c++,fortran --enable-plugin
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Python Notes: Python 2.7.15rc1 + Python 3.6.5
Security Notes: __user pointer sanitization + Full AMD retpoline IBPB + SSB disabled via prctl and seccomp Protection
Testing initiated at 8 June 2018 10:37 by user hiepgia.