LLVM Clang 16 vs. GCC 13 Compiler Performance On AMD 4th Gen EPYC "Genoa"

Written by Michael Larabel in Software on 30 May 2023 at 11:42 AM EDT. Page 4 of 6. 12 Comments.
Kvazaar benchmark with settings of Video Input: Bosphorus 4K, Video Preset: Slow. Clang 16.0.3 was the fastest.
Kvazaar benchmark with settings of Video Input: Bosphorus 4K, Video Preset: Medium. Clang 16.0.3 was the fastest.
Kvazaar benchmark with settings of Video Input: Bosphorus 4K, Video Preset: Very Fast. Clang 16.0.3 was the fastest.
Kvazaar benchmark with settings of Video Input: Bosphorus 4K, Video Preset: Super Fast. GCC 13.1.1 was the fastest.
SVT-AV1 benchmark with settings of Encoder Mode: Preset 4, Input: Bosphorus 4K. Clang 16.0.3 was the fastest.
SVT-AV1 benchmark with settings of Encoder Mode: Preset 8, Input: Bosphorus 4K. Clang 16.0.3 was the fastest.
SVT-AV1 benchmark with settings of Encoder Mode: Preset 12, Input: Bosphorus 4K. GCC 13.1.1 was the fastest.
SVT-AV1 benchmark with settings of Encoder Mode: Preset 13, Input: Bosphorus 4K. Clang 16.0.3 was the fastest.
uvg266 benchmark with settings of Video Input: Bosphorus 4K, Video Preset: Medium. Clang 16.0.3 was the fastest.
uvg266 benchmark with settings of Video Input: Bosphorus 1080p, Video Preset: Medium. Clang 16.0.3 was the fastest.
uvg266 benchmark with settings of Video Input: Bosphorus 4K, Video Preset: Ultra Fast. Clang 16.0.3 was the fastest.
uvg266 benchmark with settings of Video Input: Bosphorus 1080p, Video Preset: Very Fast. Clang 16.0.3 was the fastest.
uvg266 benchmark with settings of Video Input: Bosphorus 1080p, Video Preset: Super Fast. Clang 16.0.3 was the fastest.
x265 benchmark with settings of Video Input: Bosphorus 4K. Clang 16.0.3 was the fastest.

In some of the video encoding benchmarks there were some advantages of building these open-source video coding solutions with the Clang compiler on the AMD 4th Gen EPYC server.

Coremark benchmark with settings of CoreMark Size 666, Iterations Per Second. GCC 13.1.1 was the fastest.
Stockfish benchmark with settings of Total Time. GCC 13.1.1 was the fastest.
Stargate Digital Audio Workstation benchmark with settings of Sample Rate: 44100, Buffer Size: 512. Clang 16.0.3 was the fastest.
Stargate Digital Audio Workstation benchmark with settings of Sample Rate: 192000, Buffer Size: 512. Clang 16.0.3 was the fastest.
libavif avifenc benchmark with settings of Encoder Speed: 6, Lossless. Clang 16.0.3 was the fastest.
libavif avifenc benchmark with settings of Encoder Speed: 10, Lossless. Clang 16.0.3 was the fastest.
C-Ray benchmark with settings of Total Time, 4K, 16 Rays Per Pixel. GCC 13.1.1 was the fastest.
POV-Ray benchmark with settings of Trace Time. Clang 16.0.3 was the fastest.

Both GCC 13 and Clang 16 were working out very well on the AMD Zen 4 server being tested with Fedora Server 38.


Related Articles