LLVM LVI Mitigation Test Cascadelake-R 2 x Intel Xeon Gold 5220R "Cascade Lake Refresh" performance when looking at LVI mitigation with LLVM Clang 11 Git master as of 3 April. Benchmarks by Michael Larabel for a future article. Defaults: Processor: 2 x Intel Xeon Gold 5220R @ 3.90GHz (36 Cores / 72 Threads), Motherboard: TYAN S7106 (V2.01.B40 BIOS), Chipset: Intel Sky Lake-E DMI3 Registers, Memory: 94GB, Disk: 500GB Samsung SSD 860, Graphics: ASPEED, Network: 2 x Intel I210 + 2 x QLogic cLOM8214 1/10GbE OS: Ubuntu 20.04, Kernel: 5.6.2-050602-generic (x86_64), Desktop: GNOME Shell 3.36.0, Display Server: X Server 1.20.7, Display Driver: modesetting 1.20.7, Compiler: Clang 11.0.0, File-System: ext4, Screen Resolution: 1024x768 LVI Mitigated: Processor: 2 x Intel Xeon Gold 5220R @ 3.90GHz (36 Cores / 72 Threads), Motherboard: TYAN S7106 (V2.01.B40 BIOS), Chipset: Intel Sky Lake-E DMI3 Registers, Memory: 94GB, Disk: 500GB Samsung SSD 860, Graphics: ASPEED, Network: 2 x Intel I210 + 2 x QLogic cLOM8214 1/10GbE OS: Ubuntu 20.04, Kernel: 5.6.2-050602-generic (x86_64), Desktop: GNOME Shell 3.36.0, Display Server: X Server 1.20.7, Display Driver: modesetting 1.20.7, Compiler: Clang 11.0.0, File-System: ext4, Screen Resolution: 1024x768 dav1d 0.6.0 Video Input: Chimera 1080p FPS > Higher Is Better Defaults ...... 307.41 |======================================================= LVI Mitigated . 283.87 |=================================================== dav1d 0.6.0 Video Input: Summer Nature 4K FPS > Higher Is Better Defaults ...... 177.57 |======================================================= LVI Mitigated . 161.22 |================================================== dav1d 0.6.0 Video Input: Summer Nature 1080p FPS > Higher Is Better Defaults ...... 322.11 |======================================================= LVI Mitigated . 292.60 |================================================== dav1d 0.6.0 Video Input: Chimera 1080p 10-bit FPS > Higher Is Better Defaults ...... 62.83 |======================================================== LVI Mitigated . 61.70 |======================================================= AOM AV1 2020-01-10 Encoder Mode: Speed 4 Realtime Frames Per Second > Higher Is Better Defaults ...... 0.63 |========================================================= LVI Mitigated . 0.52 |=============================================== AOM AV1 2020-01-10 Encoder Mode: Speed 5 Two-Pass Frames Per Second > Higher Is Better Defaults ...... 1.00 |========================================================= LVI Mitigated . 0.83 |=============================================== AOM AV1 2020-01-10 Encoder Mode: Speed 8 Realtime Frames Per Second > Higher Is Better Defaults ...... 17.46 |======================================================== LVI Mitigated . 13.86 |============================================ VP9 libvpx Encoding 1.8.2 Speed: Speed 0 Frames Per Second > Higher Is Better Defaults ...... 5.97 |========================================================= LVI Mitigated . 4.59 |============================================ VP9 libvpx Encoding 1.8.2 Speed: Speed 5 Frames Per Second > Higher Is Better Defaults ...... 15.83 |======================================================== LVI Mitigated . 12.90 |============================================== x264 2019-12-17 H.264 Video Encoding Frames Per Second > Higher Is Better Defaults ...... 114.11 |======================================================= LVI Mitigated . 94.01 |============================================= x265 3.1.2 H.265 1080p Video Encoding Frames Per Second > Higher Is Better Defaults ...... 35.39 |======================================================== LVI Mitigated . 27.04 |=========================================== GraphicsMagick 1.3.33 Operation: Swirl Iterations Per Minute > Higher Is Better Defaults ...... 47 |=========================================================== LVI Mitigated . 29 |==================================== GraphicsMagick 1.3.33 Operation: Rotate Iterations Per Minute > Higher Is Better Defaults ...... 599 |========================================================== LVI Mitigated . 591 |========================================================= GraphicsMagick 1.3.33 Operation: Noise-Gaussian Iterations Per Minute > Higher Is Better Defaults ...... 23 |=========================================================== LVI Mitigated . 17 |============================================ GraphicsMagick 1.3.33 Operation: HWB Color Space Iterations Per Minute > Higher Is Better Defaults ...... 182 |========================================================== LVI Mitigated . 99 |================================ SciMark 2.0 Computational Test: Composite Mflops > Higher Is Better Defaults ...... 2108.90 |====================================================== LVI Mitigated . 2038.44 |==================================================== SciMark 2.0 Computational Test: Monte Carlo Mflops > Higher Is Better Defaults ...... 644.25 |======================================================= LVI Mitigated . 217.75 |=================== Himeno Benchmark 3.0 Poisson Pressure Solver MFLOPS > Higher Is Better Defaults ...... 3413.03 |====================================================== LVI Mitigated . 3392.37 |====================================================== SMHasher 2020-02-29 Hash: Spooky32 MiB/sec > Higher Is Better Defaults ...... 21600.26 |===================================================== LVI Mitigated . 21591.41 |===================================================== SMHasher 2020-02-29 Hash: fasthash32 MiB/sec > Higher Is Better Defaults ...... 9541.48 |====================================================== LVI Mitigated . 9533.29 |====================================================== SMHasher 2020-02-29 Hash: t1ha2_atonce MiB/sec > Higher Is Better Defaults ...... 14180.11 |===================================================== LVI Mitigated . 14136.05 |===================================================== SMHasher 2020-02-29 Hash: t1ha0_aes_avx2 MiB/sec > Higher Is Better Defaults ...... 71100.99 |===================================================== LVI Mitigated . 70559.67 |===================================================== Crypto++ 8.2 Test: Unkeyed Algorithms MiB/second > Higher Is Better Defaults ...... 287.79 |======================================================= LVI Mitigated . 247.52 |=============================================== Crypto++ 8.2 Test: Integer + Elliptic Curve Public Key Algorithms MiB/second > Higher Is Better Defaults ...... 4011.07 |====================================================== LVI Mitigated . 2899.35 |======================================= TSCP 1.81 AI Chess Performance Nodes Per Second > Higher Is Better Defaults ...... 1333602 |====================================================== LVI Mitigated . 1277910 |==================================================== John The Ripper 1.9.0-jumbo-1 Test: Blowfish Real C/S > Higher Is Better Defaults ...... 1589 |========================================================= LVI Mitigated . 1588 |========================================================= John The Ripper 1.9.0-jumbo-1 Test: MD5 Real C/S > Higher Is Better Defaults ...... 166626 |======================================================= LVI Mitigated . 163426 |====================================================== PostgreSQL pgbench 12.0 Scaling: Buffer Test - Test: Normal Load - Mode: Read Only TPS > Higher Is Better Defaults ...... 611319.00 |==================================================== LVI Mitigated . 454563.07 |======================================= PostgreSQL pgbench 12.0 Scaling: Buffer Test - Test: Normal Load - Mode: Read Write TPS > Higher Is Better Defaults ...... 3861.62 |====================================================== LVI Mitigated . 3739.86 |==================================================== SMHasher 2020-02-29 Hash: wyhash cycles/hash < Lower Is Better Defaults ...... 18.81 |========================= LVI Mitigated . 42.15 |======================================================== SMHasher 2020-02-29 Hash: MeowHash cycles/hash < Lower Is Better Defaults ...... 40.48 |================================= LVI Mitigated . 67.90 |======================================================== SMHasher 2020-02-29 Hash: Spooky32 cycles/hash < Lower Is Better Defaults ...... 31.59 |============================== LVI Mitigated . 58.59 |======================================================== SMHasher 2020-02-29 Hash: fasthash32 cycles/hash < Lower Is Better Defaults ...... 25.36 |======================== LVI Mitigated . 59.23 |======================================================== SMHasher 2020-02-29 Hash: t1ha2_atonce cycles/hash < Lower Is Better Defaults ...... 24.62 |============================== LVI Mitigated . 45.95 |======================================================== SMHasher 2020-02-29 Hash: t1ha0_aes_avx2 cycles/hash < Lower Is Better Defaults ...... 25.13 |=============================== LVI Mitigated . 45.79 |======================================================== toyBrot Fractal Generator Implementation: C++ Tasks ms < Lower Is Better Defaults ...... 1889 |===================================================== LVI Mitigated . 2025 |========================================================= toyBrot Fractal Generator Implementation: C++ Threads ms < Lower Is Better Defaults ...... 1895 |===================================================== LVI Mitigated . 2028 |========================================================= Timed MrBayes Analysis 3.2.7 Primate Phylogeny Analysis Seconds < Lower Is Better Defaults ...... 133.12 |=================================================== LVI Mitigated . 144.85 |======================================================= Timed HMMer Search 2.3.2 Pfam Database Search Seconds < Lower Is Better Defaults ...... 10.44 |========================================== LVI Mitigated . 13.94 |======================================================== C-Ray 1.1 Total Time - 4K, 16 Rays Per Pixel Seconds < Lower Is Better Defaults ...... 30.25 |============================================= LVI Mitigated . 37.57 |======================================================== Tungsten Renderer 0.2.2 Scene: Hair Seconds < Lower Is Better Defaults ...... 9.70799 |================================================= LVI Mitigated . 10.45350 |===================================================== Tungsten Renderer 0.2.2 Scene: Water Caustic Seconds < Lower Is Better Defaults ...... 23.11 |======================================================= LVI Mitigated . 23.67 |======================================================== Tungsten Renderer 0.2.2 Scene: Non-Exponential Seconds < Lower Is Better Defaults ...... 7.78929 |=============================== LVI Mitigated . 13.41184 |===================================================== XZ Compression 5.2.4 Compressing ubuntu-16.04.3-server-i386.img, Compression Level 9 Seconds < Lower Is Better Defaults ...... 21.42 |==================================================== LVI Mitigated . 23.18 |======================================================== FLAC Audio Encoding 1.3.2 WAV To FLAC Seconds < Lower Is Better Defaults ...... 12.12 |======================================================= LVI Mitigated . 12.33 |======================================================== LAME MP3 Encoding 3.100 WAV To MP3 Seconds < Lower Is Better Defaults ...... 12.01 |=================================================== LVI Mitigated . 13.26 |======================================================== Tachyon 0.99b6 Total Time Seconds < Lower Is Better Defaults ...... 35.83 |======================================================== LVI Mitigated . 35.95 |======================================================== CppPerformanceBenchmarks 9 Test: Atol Seconds < Lower Is Better Defaults ...... 68.46 |======================================================= LVI Mitigated . 69.08 |======================================================== CppPerformanceBenchmarks 9 Test: Ctype Seconds < Lower Is Better Defaults ...... 30.65 |======================================================= LVI Mitigated . 31.43 |======================================================== CppPerformanceBenchmarks 9 Test: Random Numbers Seconds < Lower Is Better Defaults ...... 1416.24 |=================================================== LVI Mitigated . 1495.89 |====================================================== CppPerformanceBenchmarks 9 Test: Stepanov Vector Seconds < Lower Is Better Defaults ...... 82.71 |====================================================== LVI Mitigated . 86.42 |======================================================== CppPerformanceBenchmarks 9 Test: Function Objects Seconds < Lower Is Better Defaults ...... 15.59 |=============================== LVI Mitigated . 28.21 |======================================================== CppPerformanceBenchmarks 9 Test: Stepanov Abstraction Seconds < Lower Is Better Defaults ...... 33.45 |======================================================= LVI Mitigated . 34.11 |======================================================== SQLite Speedtest 3.30 Timed Time - Size 1,000 Seconds < Lower Is Better Defaults ...... 69.96 |====================================== LVI Mitigated . 100.95 |=======================================================