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&sor&sgm=1&ppt=D&oss=Postgresql.

GCC 11 vs. LLVM Clang 12 Benchmarks On Xeon Ice LakeProcessorMotherboardChipsetMemoryDiskGraphicsNetworkOSKernelCompilerFile-SystemScreen ResolutionGCC 11.1Clang 12.02 x Intel Xeon Platinum 8380 @ 3.40GHz (80 Cores / 160 Threads)Intel M50CYP2SB2U (SE5C6200.86B.0022.D08.2103221623 BIOS)Intel Device 099816 x 32 GB DDR4-3200MT/s Hynix HMA84GR7CJR4N-XN800GB INTEL SSDPF21Q800GBASPEED2 x Intel X710 for 10GBASE-T + 2 x Intel E810-C for QSFPFedora 345.12.6-300.fc34.x86_64 (x86_64)GCC 11.1.1 20210428xfs1024x768Clang 12.0.0OpenBenchmarking.orgKernel Details- Transparent Huge Pages: madviseEnvironment 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: 0xd000270Python Details- Python 3.9.5Security 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 Lakepgbench: 100 - 250 - Read Onlypgbench: 100 - 250 - Read Only - Average Latencypgbench: 100 - 250 - Read Writepgbench: 100 - 250 - Read Write - Average LatencyGCC 11.1Clang 12.09074010.277894252.7979430430.265925762.702OpenBenchmarking.org

PostgreSQL pgbench

Scaling Factor: 100 - Clients: 250 - Mode: Read Only

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 13.0Scaling Factor: 100 - Clients: 250 - Mode: Read OnlyClang 12.0GCC 11.1200K400K600K800K1000KSE +/- 8511.06, N = 3SE +/- 15989.65, N = 139430439074011. (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.orgms, Fewer Is BetterPostgreSQL pgbench 13.0Scaling Factor: 100 - Clients: 250 - Mode: Read Only - Average LatencyClang 12.0GCC 11.10.06230.12460.18690.24920.3115SE +/- 0.002, N = 3SE +/- 0.005, N = 130.2650.2771. (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.orgTPS, More Is BetterPostgreSQL pgbench 13.0Scaling Factor: 100 - Clients: 250 - Mode: Read WriteClang 12.0GCC 11.120K40K60K80K100KSE +/- 239.57, N = 3SE +/- 106.75, N = 392576894251. (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.orgms, Fewer Is BetterPostgreSQL pgbench 13.0Scaling Factor: 100 - Clients: 250 - Mode: Read Write - Average LatencyClang 12.0GCC 11.10.62931.25861.88792.51723.1465SE +/- 0.007, N = 3SE +/- 0.003, N = 32.7022.7971. (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.orgGeometric Mean, More Is BetterGeometric Mean Of All Test ResultsResult Composite - GCC 11 vs. LLVM Clang 12 Benchmarks On Xeon Ice LakeClang 12.0GCC 11.1130026003900520065005909.155688.81


Phoronix Test Suite v10.8.4