Xeon Platinum 8380 compiler benchmarks by Michael Larabel looking at GCC 11 against LLVM Clang 12 for some initial holiday weekend tests...
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 2105299-IB-COMPILERT91 GCC 11 vs. LLVM Clang 12 Benchmarks On Xeon Ice Lake - Phoronix Test Suite GCC 11 vs. LLVM Clang 12 Benchmarks On Xeon Ice Lake Xeon Platinum 8380 compiler benchmarks by Michael Larabel looking at GCC 11 against LLVM Clang 12 for some initial holiday weekend tests...
HTML result view exported from: https://openbenchmarking.org/result/2105299-IB-COMPILERT91&sgm=1&ppt=D&sgm=1&ppt=D&oss=Postgresql&sor&grw .
GCC 11 vs. LLVM Clang 12 Benchmarks On Xeon Ice Lake Processor Motherboard Chipset Memory Disk Graphics Network OS Kernel Compiler File-System Screen Resolution GCC 11.1 Clang 12.0 2 x Intel Xeon Platinum 8380 @ 3.40GHz (80 Cores / 160 Threads) Intel M50CYP2SB2U (SE5C6200.86B.0022.D08.2103221623 BIOS) Intel Device 0998 16 x 32 GB DDR4-3200MT/s Hynix HMA84GR7CJR4N-XN 800GB INTEL SSDPF21Q800GB ASPEED 2 x Intel X710 for 10GBASE-T + 2 x Intel E810-C for QSFP Fedora 34 5.12.6-300.fc34.x86_64 (x86_64) GCC 11.1.1 20210428 xfs 1024x768 Clang 12.0.0 OpenBenchmarking.org Kernel Details - Transparent Huge Pages: madvise Environment Details - CXXFLAGS="-O3 -march=native -flto" CFLAGS="-O3 -march=native -flto" Compiler Details - GCC 11.1: --build=x86_64-redhat-linux --disable-libunwind-exceptions --enable-__cxa_atexit --enable-bootstrap --enable-cet --enable-checking=release --enable-gnu-indirect-function --enable-gnu-unique-object --enable-initfini-array --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --enable-multilib --enable-offload-targets=nvptx-none --enable-plugin --enable-shared --enable-threads=posix --mandir=/usr/share/man --with-arch_32=i686 --with-gcc-major-version-only --with-linker-hash-style=gnu --with-tune=generic --without-cuda-driver Processor Details - Scaling Governor: intel_pstate performance - CPU Microcode: 0xd000270 Python Details - Python 3.9.5 Security Details - SELinux + itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl and seccomp + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Enhanced IBRS IBPB: conditional RSB filling + srbds: Not affected + tsx_async_abort: Not affected
GCC 11 vs. LLVM Clang 12 Benchmarks On Xeon Ice Lake pgbench: 100 - 250 - Read Only pgbench: 100 - 250 - Read Only - Average Latency pgbench: 100 - 250 - Read Write pgbench: 100 - 250 - Read Write - Average Latency GCC 11.1 Clang 12.0 907401 0.277 89425 2.797 943043 0.265 92576 2.702 OpenBenchmarking.org
PostgreSQL pgbench Scaling Factor: 100 - Clients: 250 - Mode: Read Only OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 13.0 Scaling Factor: 100 - Clients: 250 - Mode: Read Only Clang 12.0 GCC 11.1 200K 400K 600K 800K 1000K SE +/- 8511.06, N = 3 SE +/- 15989.65, N = 13 943043 907401 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -flto -lpgcommon -lpgport -lpq -lpthread -lrt -ldl -lm
PostgreSQL pgbench Scaling Factor: 100 - Clients: 250 - Mode: Read Only - Average Latency OpenBenchmarking.org ms, Fewer Is Better PostgreSQL pgbench 13.0 Scaling Factor: 100 - Clients: 250 - Mode: Read Only - Average Latency Clang 12.0 GCC 11.1 0.0623 0.1246 0.1869 0.2492 0.3115 SE +/- 0.002, N = 3 SE +/- 0.005, N = 13 0.265 0.277 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -flto -lpgcommon -lpgport -lpq -lpthread -lrt -ldl -lm
PostgreSQL pgbench Scaling Factor: 100 - Clients: 250 - Mode: Read Write OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 13.0 Scaling Factor: 100 - Clients: 250 - Mode: Read Write Clang 12.0 GCC 11.1 20K 40K 60K 80K 100K SE +/- 239.57, N = 3 SE +/- 106.75, N = 3 92576 89425 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -flto -lpgcommon -lpgport -lpq -lpthread -lrt -ldl -lm
PostgreSQL pgbench Scaling Factor: 100 - Clients: 250 - Mode: Read Write - Average Latency OpenBenchmarking.org ms, Fewer Is Better PostgreSQL pgbench 13.0 Scaling Factor: 100 - Clients: 250 - Mode: Read Write - Average Latency Clang 12.0 GCC 11.1 0.6293 1.2586 1.8879 2.5172 3.1465 SE +/- 0.007, N = 3 SE +/- 0.003, N = 3 2.702 2.797 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -flto -lpgcommon -lpgport -lpq -lpthread -lrt -ldl -lm
Geometric Mean Of All Test Results Result Composite - GCC 11 vs. LLVM Clang 12 Benchmarks On Xeon Ice Lake OpenBenchmarking.org Geometric Mean, More Is Better Geometric Mean Of All Test Results Result Composite - GCC 11 vs. LLVM Clang 12 Benchmarks On Xeon Ice Lake Clang 12.0 GCC 11.1 1300 2600 3900 5200 6500 5909.15 5688.81
Phoronix Test Suite v10.8.4