AMD Threadripper GCC LLVM Clang Compiler Benchmarks
LLVM Clang and GCC compiler benchmarks on AMD Threadripper 1950X under Ubuntu Linux. Tests by Michael Larabel for a future article.
Ubuntu 17.04 Stock - GCC 6.3
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (32 Cores), Motherboard: Gigabyte X399 AORUS Gaming 7, Chipset: AMD Device 1450, Memory: 32768MB, Disk: 120GB Force MP500, Graphics: LLVMpipe, Audio: Realtek Generic, Network: Qualcomm Atheros Device e0b1 + Intel Wireless 8265 / 8275
OS: Ubuntu 17.04, Kernel: 4.10.0-33-generic (x86_64), Desktop: Unity 7.5.0, Display Server: X Server 1.19.3, Display Driver: modesetting 1.19.3, OpenGL: 3.3 Mesa 17.0.3 Gallium 0.4 (LLVM 4.0 128 bits), Compiler: GCC 6.3.0 20170406, File-System: ext4, Screen Resolution: 1024x768
Environment Notes: LIBGL_ALWAYS_SOFTWARE=1
Compiler Notes: --build=x86_64-linux-gnu --disable-browser-plugin --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,ada,c++,java,go,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-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-arch-directory=amd64 --with-default-libstdcxx-abi=new --with-multilib-list=m32,m64,mx32 --with-target-system-zlib --with-tune=generic -v
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
GCC 4.9.4
OS: Ubuntu 17.04, Kernel: 4.10.0-33-generic (x86_64), Desktop: Unity 7.5.0, Display Server: X Server 1.19.3, Display Driver: modesetting 1.19.3, OpenGL: 3.3 Mesa 17.0.3 Gallium 0.4 (LLVM 4.0 128 bits), Compiler: GCC 4.9.4, File-System: ext4, Screen Resolution: 1024x768
Environment Notes: LIBGL_ALWAYS_SOFTWARE=1
Compiler Notes: --disable-multilib --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
GCC 7.2.0
OS: Ubuntu 17.04, Kernel: 4.10.0-33-generic (x86_64), Desktop: Unity 7.5.0, Display Server: X Server 1.19.3, Display Driver: modesetting 1.19.3, OpenGL: 3.3 Mesa 17.0.3 Gallium 0.4 (LLVM 4.0 128 bits), Compiler: GCC 7.2.0, File-System: ext4, Screen Resolution: 1024x768
GCC 8.0.0
OS: Ubuntu 17.04, Kernel: 4.10.0-33-generic (x86_64), Desktop: Unity 7.5.0, Display Server: X Server 1.19.3, Display Driver: modesetting 1.19.3, OpenGL: 3.3 Mesa 17.0.3 Gallium 0.4 (LLVM 4.0 128 bits), Compiler: GCC 8.0.0 20170827, File-System: ext4, Screen Resolution: 1024x768
LLVM Clang 4.0
OS: Ubuntu 17.04, Kernel: 4.10.0-33-generic (x86_64), Desktop: Unity 7.5.0, Display Server: X Server 1.19.3, Display Driver: modesetting 1.19.3, OpenGL: 3.3 Mesa 17.0.3 Gallium 0.4 (LLVM 4.0 128 bits), Compiler: Clang 4.0.0-1ubuntu1, File-System: ext4, Screen Resolution: 1024x768
Environment Notes: LIBGL_ALWAYS_SOFTWARE=1
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
LLVM Clang 6.0 SVN
OS: Ubuntu 17.04, Kernel: 4.10.0-33-generic (x86_64), Desktop: Unity 7.5.0, Display Server: X Server 1.19.3, Display Driver: modesetting 1.19.3, OpenGL: 3.3 Mesa 17.0.3 Gallium 0.4 (LLVM 4.0 128 bits), Compiler: Clang 6.0.0-svn311829-1~exp1, File-System: ext4, Screen Resolution: 1024x768
Timed Apache Compilation
This test times how long it takes to build the Apache HTTP Server. Learn more via the OpenBenchmarking.org test page.
Timed GCC Compilation
Timed ImageMagick Compilation
This test times how long it takes to build ImageMagick. Learn more via the OpenBenchmarking.org test page.
Timed Linux Kernel Compilation
Timed LLVM Compilation
Timed PHP Compilation
Ubuntu 17.04 Stock - GCC 6.3
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (32 Cores), Motherboard: Gigabyte X399 AORUS Gaming 7, Chipset: AMD Device 1450, Memory: 32768MB, Disk: 120GB Force MP500, Graphics: LLVMpipe, Audio: Realtek Generic, Network: Qualcomm Atheros Device e0b1 + Intel Wireless 8265 / 8275
OS: Ubuntu 17.04, Kernel: 4.10.0-33-generic (x86_64), Desktop: Unity 7.5.0, Display Server: X Server 1.19.3, Display Driver: modesetting 1.19.3, OpenGL: 3.3 Mesa 17.0.3 Gallium 0.4 (LLVM 4.0 128 bits), Compiler: GCC 6.3.0 20170406, File-System: ext4, Screen Resolution: 1024x768
Environment Notes: LIBGL_ALWAYS_SOFTWARE=1
Compiler Notes: --build=x86_64-linux-gnu --disable-browser-plugin --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,ada,c++,java,go,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-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-arch-directory=amd64 --with-default-libstdcxx-abi=new --with-multilib-list=m32,m64,mx32 --with-target-system-zlib --with-tune=generic -v
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 28 August 2017 11:40 by user phoronix.
GCC 4.9.4
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (32 Cores), Motherboard: Gigabyte X399 AORUS Gaming 7, Chipset: AMD Device 1450, Memory: 32768MB, Disk: 120GB Force MP500, Graphics: LLVMpipe, Audio: Realtek Generic, Network: Qualcomm Atheros Device e0b1 + Intel Wireless 8265 / 8275
OS: Ubuntu 17.04, Kernel: 4.10.0-33-generic (x86_64), Desktop: Unity 7.5.0, Display Server: X Server 1.19.3, Display Driver: modesetting 1.19.3, OpenGL: 3.3 Mesa 17.0.3 Gallium 0.4 (LLVM 4.0 128 bits), Compiler: GCC 4.9.4, File-System: ext4, Screen Resolution: 1024x768
Environment Notes: LIBGL_ALWAYS_SOFTWARE=1
Compiler Notes: --disable-multilib --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 28 August 2017 19:19 by user phoronix.
GCC 7.2.0
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (32 Cores), Motherboard: Gigabyte X399 AORUS Gaming 7, Chipset: AMD Device 1450, Memory: 32768MB, Disk: 120GB Force MP500, Graphics: LLVMpipe, Audio: Realtek Generic, Network: Qualcomm Atheros Device e0b1 + Intel Wireless 8265 / 8275
OS: Ubuntu 17.04, Kernel: 4.10.0-33-generic (x86_64), Desktop: Unity 7.5.0, Display Server: X Server 1.19.3, Display Driver: modesetting 1.19.3, OpenGL: 3.3 Mesa 17.0.3 Gallium 0.4 (LLVM 4.0 128 bits), Compiler: GCC 7.2.0, File-System: ext4, Screen Resolution: 1024x768
Environment Notes: LIBGL_ALWAYS_SOFTWARE=1
Compiler Notes: --disable-multilib --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 28 August 2017 13:51 by user phoronix.
GCC 8.0.0
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (32 Cores), Motherboard: Gigabyte X399 AORUS Gaming 7, Chipset: AMD Device 1450, Memory: 32768MB, Disk: 120GB Force MP500, Graphics: LLVMpipe, Audio: Realtek Generic, Network: Qualcomm Atheros Device e0b1 + Intel Wireless 8265 / 8275
OS: Ubuntu 17.04, Kernel: 4.10.0-33-generic (x86_64), Desktop: Unity 7.5.0, Display Server: X Server 1.19.3, Display Driver: modesetting 1.19.3, OpenGL: 3.3 Mesa 17.0.3 Gallium 0.4 (LLVM 4.0 128 bits), Compiler: GCC 8.0.0 20170827, File-System: ext4, Screen Resolution: 1024x768
Environment Notes: LIBGL_ALWAYS_SOFTWARE=1
Compiler Notes: --disable-multilib --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 28 August 2017 14:56 by user phoronix.
LLVM Clang 4.0
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (32 Cores), Motherboard: Gigabyte X399 AORUS Gaming 7, Chipset: AMD Device 1450, Memory: 32768MB, Disk: 120GB Force MP500, Graphics: LLVMpipe, Audio: Realtek Generic, Network: Qualcomm Atheros Device e0b1 + Intel Wireless 8265 / 8275
OS: Ubuntu 17.04, Kernel: 4.10.0-33-generic (x86_64), Desktop: Unity 7.5.0, Display Server: X Server 1.19.3, Display Driver: modesetting 1.19.3, OpenGL: 3.3 Mesa 17.0.3 Gallium 0.4 (LLVM 4.0 128 bits), Compiler: Clang 4.0.0-1ubuntu1, File-System: ext4, Screen Resolution: 1024x768
Environment Notes: LIBGL_ALWAYS_SOFTWARE=1
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 28 August 2017 15:52 by user phoronix.
LLVM Clang 6.0 SVN
Processor: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz (32 Cores), Motherboard: Gigabyte X399 AORUS Gaming 7, Chipset: AMD Device 1450, Memory: 32768MB, Disk: 120GB Force MP500, Graphics: LLVMpipe, Audio: Realtek Generic, Network: Qualcomm Atheros Device e0b1 + Intel Wireless 8265 / 8275
OS: Ubuntu 17.04, Kernel: 4.10.0-33-generic (x86_64), Desktop: Unity 7.5.0, Display Server: X Server 1.19.3, Display Driver: modesetting 1.19.3, OpenGL: 3.3 Mesa 17.0.3 Gallium 0.4 (LLVM 4.0 128 bits), Compiler: Clang 6.0.0-svn311829-1~exp1, File-System: ext4, Screen Resolution: 1024x768
Environment Notes: LIBGL_ALWAYS_SOFTWARE=1
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 28 August 2017 17:36 by user phoronix.