Initial AMD Spectre Variant 4 Benchmarks On Linux 4.17 Spectre V4 mitigation tests using SSBD on Linux 4.17 Git. Tests for a future article. Ryzen 7 2700X: SSBD: Processor: AMD Ryzen 7 2700X Eight-Core @ 3.70GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG CROSSHAIR VII HERO (WI-FI) (0509 BIOS), Chipset: AMD Family 17h, Memory: 16384MB, Disk: 525GB SABRENT + Samsung SSD 950 PRO 256GB, Graphics: NV132 11264MB, Audio: NVIDIA GP102 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 Gigabit Connection + Realtek Device b822 OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180521, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, OpenGL: 4.3 Mesa 18.2.0-devel, Compiler: GCC 7.3.0, File-System: ext4, Screen Resolution: 3840x2160 Ryzen 7 2700X: Vulnerable: Processor: AMD Ryzen 7 2700X Eight-Core @ 3.70GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG CROSSHAIR VII HERO (WI-FI) (0509 BIOS), Chipset: AMD Family 17h, Memory: 16384MB, Disk: 525GB SABRENT + Samsung SSD 950 PRO 256GB, Graphics: NV132 11264MB, Audio: NVIDIA GP102 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 Gigabit Connection + Realtek Device b822 OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180521, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, OpenGL: 4.3 Mesa 18.2.0-devel, Compiler: GCC 7.3.0, File-System: ext4, Screen Resolution: 3840x2160 EPYC 7601: SSBD: Processor: AMD EPYC 7601 32-Core @ 2.20GHz (32 Cores / 64 Threads), Motherboard: TYAN B8026T70AE24HR (V0.05.B10 BIOS), Chipset: AMD Family 17h, Memory: 129024MB, Disk: 280GB INTEL SSDPE21D280GA, Graphics: ASPEED ASPEED Family, Monitor: VE228, Network: Broadcom Limited NetXtreme BCM5720 Gigabit PCIe OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180521, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: GCC 7.3.0, File-System: ext4, Screen Resolution: 1920x1080 EPYC 7601: Vulnerable: Processor: AMD EPYC 7601 32-Core @ 2.20GHz (32 Cores / 64 Threads), Motherboard: TYAN B8026T70AE24HR (V0.05.B10 BIOS), Chipset: AMD Family 17h, Memory: 129024MB, Disk: 280GB INTEL SSDPE21D280GA, Graphics: ASPEED ASPEED Family, Monitor: VE228, Network: Broadcom Limited NetXtreme BCM5720 Gigabit PCIe OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180521, Desktop: GNOME Shell 3.28.1, Display Driver: modesetting 1.19.6, Compiler: GCC 7.3.0, File-System: ext4, Screen Resolution: 1920x1080 Ryzen 3 2200G: SSBD: Processor: AMD Ryzen 3 2200G @ 3.50GHz (4 Cores), Motherboard: MSI B350M GAMING PRO (MS-7A39) v1.0 (2.G0 BIOS), Chipset: AMD Device 15d0, Memory: 7168MB, Disk: 29GB INTEL MEMPEK1W032GA, Graphics: MSI AMD Radeon Vega 8 Mobile 1024MB, Audio: AMD Device 15de, Monitor: DELL P2415Q, Network: Realtek RTL8111/8168/8411 OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180521, Desktop: GNOME Shell 3.28.0, Display Driver: modesetting 1.19.6, OpenGL: 4.5 Mesa 18.0.0-rc5 (LLVM 6.0.0), Compiler: GCC 7.3.0, File-System: ext4, Screen Resolution: 3840x2160 Ryzen 3 2200G: Vulnerable: Processor: AMD Ryzen 3 2200G @ 3.50GHz (4 Cores), Motherboard: MSI B350M GAMING PRO (MS-7A39) v1.0 (2.G0 BIOS), Chipset: AMD Device 15d0, Memory: 7168MB, Disk: 29GB INTEL MEMPEK1W032GA, Graphics: MSI AMD Radeon Vega 8 Mobile 1024MB, Audio: AMD Device 15de, Monitor: DELL P2415Q, Network: Realtek RTL8111/8168/8411 OS: Ubuntu 18.04, Kernel: 4.17.0-999-generic (x86_64) 20180521, Desktop: GNOME Shell 3.28.0, Display Driver: modesetting 1.19.6, OpenGL: 4.5 Mesa 18.0.0-rc5 (LLVM 6.0.0), Compiler: GCC 7.3.0, File-System: ext4, Screen Resolution: 3840x2160 SQLite 3.22 Timed SQLite Insertions Seconds < Lower Is Better Ryzen 7 2700X: SSBD ....... 62.60 |=========================================== Ryzen 7 2700X: Vulnerable . 63.83 |============================================ EPYC 7601: SSBD ........... 2.94 |== EPYC 7601: Vulnerable ..... 2.86 |== Ryzen 3 2200G: SSBD ....... 3.50 |== Ryzen 3 2200G: Vulnerable . 3.55 |== IOzone 3.465 Record Size: 4Kb - File Size: 8GB - Disk Test: Write Performance MB/s > Higher Is Better Ryzen 7 2700X: SSBD ....... 484.77 |==================== Ryzen 7 2700X: Vulnerable . 827.10 |================================== EPYC 7601: SSBD ........... 928.86 |====================================== EPYC 7601: Vulnerable ..... 1024.23 |========================================== Ryzen 3 2200G: SSBD ....... 280.55 |============ Ryzen 3 2200G: Vulnerable . 279.57 |=========== PostMark 1.51 Disk Transaction Performance TPS > Higher Is Better Ryzen 7 2700X: SSBD ....... 7142 |============================================= Ryzen 7 2700X: Vulnerable . 7212 |============================================= EPYC 7601: SSBD ........... 5434 |================================== EPYC 7601: Vulnerable ..... 5396 |================================== Ryzen 3 2200G: SSBD ....... 6148 |====================================== Ryzen 3 2200G: Vulnerable . 6049 |====================================== Java SciMark 2.0 Computational Test: Composite Mflops > Higher Is Better Ryzen 7 2700X: SSBD ....... 2949.91 |========================================== Ryzen 7 2700X: Vulnerable . 2959.81 |========================================== EPYC 7601: SSBD ........... 2177.16 |=============================== EPYC 7601: Vulnerable ..... 2177.73 |=============================== Ryzen 3 2200G: SSBD ....... 2587.38 |===================================== Ryzen 3 2200G: Vulnerable . 2620.41 |===================================== Java SciMark 2.0 Computational Test: Monte Carlo Mflops > Higher Is Better Ryzen 7 2700X: SSBD ....... 1647.20 |========================================== Ryzen 7 2700X: Vulnerable . 1652.12 |========================================== EPYC 7601: SSBD ........... 1230.92 |=============================== EPYC 7601: Vulnerable ..... 1229.24 |=============================== Ryzen 3 2200G: SSBD ....... 1423.13 |==================================== Ryzen 3 2200G: Vulnerable . 1426.43 |==================================== Java SciMark 2.0 Computational Test: Fast Fourier Transform Mflops > Higher Is Better Ryzen 7 2700X: SSBD ....... 1887.32 |========================================== Ryzen 7 2700X: Vulnerable . 1866.30 |========================================== EPYC 7601: SSBD ........... 1365.76 |============================== EPYC 7601: Vulnerable ..... 1366.74 |============================== Ryzen 3 2200G: SSBD ....... 1505.81 |================================== Ryzen 3 2200G: Vulnerable . 1602.07 |==================================== Java SciMark 2.0 Computational Test: Sparse Matrix Multiply Mflops > Higher Is Better Ryzen 7 2700X: SSBD ....... 2634.63 |========================================== Ryzen 7 2700X: Vulnerable . 2644.61 |========================================== EPYC 7601: SSBD ........... 1682.48 |=========================== EPYC 7601: Vulnerable ..... 1974.16 |=============================== Ryzen 3 2200G: SSBD ....... 2288.47 |==================================== Ryzen 3 2200G: Vulnerable . 2288.22 |==================================== Java SciMark 2.0 Computational Test: Dense LU Matrix Factorization Mflops > Higher Is Better Ryzen 7 2700X: SSBD ....... 6943.53 |========================================== Ryzen 7 2700X: Vulnerable . 6996.91 |========================================== EPYC 7601: SSBD ........... 5230.06 |=============================== EPYC 7601: Vulnerable ..... 5110.10 |=============================== Ryzen 3 2200G: SSBD ....... 6319.11 |====================================== Ryzen 3 2200G: Vulnerable . 6384.79 |====================================== Java SciMark 2.0 Computational Test: Jacobi Successive Over-Relaxation Mflops > Higher Is Better Ryzen 7 2700X: SSBD ....... 1636.85 |========================================== Ryzen 7 2700X: Vulnerable . 1639.11 |========================================== EPYC 7601: SSBD ........... 1207.65 |=============================== EPYC 7601: Vulnerable ..... 1208.41 |=============================== Ryzen 3 2200G: SSBD ....... 1400.40 |==================================== Ryzen 3 2200G: Vulnerable . 1400.53 |==================================== LuaJIT 2.0.5 Test: Composite Mflops > Higher Is Better Ryzen 7 2700X: SSBD ....... 1504.56 |========================================== Ryzen 7 2700X: Vulnerable . 1492.84 |========================================== EPYC 7601: SSBD ........... 1114.90 |=============================== EPYC 7601: Vulnerable ..... 1134.76 |================================ Ryzen 3 2200G: SSBD ....... 1104.94 |=============================== Ryzen 3 2200G: Vulnerable . 1097.67 |=============================== LuaJIT 2.0.5 Test: Monte Carlo Mflops > Higher Is Better Ryzen 7 2700X: SSBD ....... 507.90 |=========================================== Ryzen 7 2700X: Vulnerable . 508.62 |=========================================== EPYC 7601: SSBD ........... 379.97 |================================ EPYC 7601: Vulnerable ..... 379.92 |================================ Ryzen 3 2200G: SSBD ....... 441.33 |===================================== Ryzen 3 2200G: Vulnerable . 440.09 |===================================== LuaJIT 2.0.5 Test: Fast Fourier Transform Mflops > Higher Is Better Ryzen 7 2700X: SSBD ....... 302.71 |=========================================== Ryzen 7 2700X: Vulnerable . 283.48 |======================================== EPYC 7601: SSBD ........... 240.91 |================================== EPYC 7601: Vulnerable ..... 228.85 |================================= Ryzen 3 2200G: SSBD ....... 237.57 |================================== Ryzen 3 2200G: Vulnerable . 236.74 |================================== LuaJIT 2.0.5 Test: Sparse Matrix Multiply Mflops > Higher Is Better Ryzen 7 2700X: SSBD ....... 1215.05 |========================================== Ryzen 7 2700X: Vulnerable . 1213.50 |========================================== EPYC 7601: SSBD ........... 917.87 |================================ EPYC 7601: Vulnerable ..... 914.14 |================================ Ryzen 3 2200G: SSBD ....... 1065.83 |===================================== Ryzen 3 2200G: Vulnerable . 1062.32 |===================================== LuaJIT 2.0.5 Test: Dense LU Matrix Factorization Mflops > Higher Is Better Ryzen 7 2700X: SSBD ....... 3575.11 |========================================== Ryzen 7 2700X: Vulnerable . 3524.26 |========================================= EPYC 7601: SSBD ........... 2614.12 |=============================== EPYC 7601: Vulnerable ..... 2728.63 |================================ Ryzen 3 2200G: SSBD ....... 2135.52 |========================= Ryzen 3 2200G: Vulnerable . 2105.37 |========================= LuaJIT 2.0.5 Test: Jacobi Successive Over-Relaxation Mflops > Higher Is Better Ryzen 7 2700X: SSBD ....... 1922.06 |========================================== Ryzen 7 2700X: Vulnerable . 1934.33 |========================================== EPYC 7601: SSBD ........... 1421.63 |=============================== EPYC 7601: Vulnerable ..... 1422.25 |=============================== Ryzen 3 2200G: SSBD ....... 1644.45 |==================================== Ryzen 3 2200G: Vulnerable . 1643.83 |==================================== Stockfish 9 Total Time Nodes Per Second > Higher Is Better Ryzen 7 2700X: SSBD ....... 24152025 |================= Ryzen 7 2700X: Vulnerable . 24133230 |================= EPYC 7601: SSBD ........... 58372393 |========================================= EPYC 7601: Vulnerable ..... 58183837 |========================================= Ryzen 3 2200G: SSBD ....... 7993776 |====== Ryzen 3 2200G: Vulnerable . 7957417 |====== ebizzy 0.3 Records/s > Higher Is Better Ryzen 7 2700X: SSBD ....... 559670 |===================== Ryzen 7 2700X: Vulnerable . 566374 |===================== EPYC 7601: SSBD ........... 1122614 |========================================== EPYC 7601: Vulnerable ..... 1134210 |========================================== Ryzen 3 2200G: SSBD ....... 85804 |=== Ryzen 3 2200G: Vulnerable . 86028 |=== Timed Linux Kernel Compilation 4.13 Time To Compile Seconds < Lower Is Better Ryzen 7 2700X: SSBD ....... 73.92 |================ Ryzen 7 2700X: Vulnerable . 73.27 |================ EPYC 7601: SSBD ........... 37.75 |======== EPYC 7601: Vulnerable ..... 37.57 |======== Ryzen 3 2200G: SSBD ....... 200.19 |=========================================== Ryzen 3 2200G: Vulnerable . 198.91 |=========================================== AOBench Size: 2048 x 2048 - Total Time Seconds < Lower Is Better Ryzen 7 2700X: SSBD ....... 38.80 |================================= Ryzen 7 2700X: Vulnerable . 38.68 |================================= EPYC 7601: SSBD ........... 51.96 |============================================ EPYC 7601: Vulnerable ..... 51.96 |============================================ Ryzen 3 2200G: SSBD ....... 44.86 |====================================== Ryzen 3 2200G: Vulnerable . 44.86 |====================================== LAME MP3 Encoding 3.100 WAV To MP3 Seconds < Lower Is Better Ryzen 7 2700X: SSBD ....... 32.46 |================================= Ryzen 7 2700X: Vulnerable . 32.56 |================================= EPYC 7601: SSBD ........... 43.72 |============================================ EPYC 7601: Vulnerable ..... 43.86 |============================================ Ryzen 3 2200G: SSBD ....... 37.84 |====================================== Ryzen 3 2200G: Vulnerable . 37.80 |====================================== R Benchmark Seconds < Lower Is Better Ryzen 7 2700X: SSBD ....... 0.3947 |=================== Ryzen 7 2700X: Vulnerable . 0.3911 |=================== EPYC 7601: SSBD ........... 0.9055 |=========================================== EPYC 7601: Vulnerable ..... 0.9079 |=========================================== Ryzen 3 2200G: SSBD ....... 0.8008 |====================================== Ryzen 3 2200G: Vulnerable . 0.7894 |===================================== OpenSSL 1.1.0f RSA 4096-bit Performance Signs Per Second > Higher Is Better Ryzen 7 2700X: SSBD ....... 1719.50 |================ Ryzen 7 2700X: Vulnerable . 1724.83 |================ EPYC 7601: SSBD ........... 4610.47 |========================================== EPYC 7601: Vulnerable ..... 4608.33 |========================================== PostgreSQL pgbench 10.3 Scaling: Buffer Test - Test: Normal Load - Mode: Read Only TPS > Higher Is Better Ryzen 7 2700X: SSBD ....... 195458.93 |==================== Ryzen 7 2700X: Vulnerable . 197760.12 |==================== EPYC 7601: SSBD ........... 395388.07 |======================================== EPYC 7601: Vulnerable ..... 393664.75 |======================================== Ryzen 3 2200G: SSBD ....... 57005.68 |====== Ryzen 3 2200G: Vulnerable . 56687.08 |====== PostgreSQL pgbench 10.3 Scaling: Buffer Test - Test: Normal Load - Mode: Read Write TPS > Higher Is Better Ryzen 7 2700X: SSBD ....... 4152.53 |======================= Ryzen 7 2700X: Vulnerable . 4270.12 |======================== Ryzen 3 2200G: SSBD ....... 7519.28 |========================================== Ryzen 3 2200G: Vulnerable . 7497.78 |========================================== PostgreSQL pgbench 10.3 Scaling: Buffer Test - Test: Heavy Contention - Mode: Read Only TPS > Higher Is Better Ryzen 7 2700X: SSBD ....... 191709.25 |======================================== Ryzen 7 2700X: Vulnerable . 189690.99 |======================================== Ryzen 3 2200G: SSBD ....... 50134.27 |========== Ryzen 3 2200G: Vulnerable . 51360.22 |=========== PostgreSQL pgbench 10.3 Scaling: Buffer Test - Test: Heavy Contention - Mode: Read Write TPS > Higher Is Better Ryzen 7 2700X: SSBD ....... 4556.94 |============================ Ryzen 7 2700X: Vulnerable . 4511.55 |============================ Ryzen 3 2200G: SSBD ....... 6654.57 |========================================= Ryzen 3 2200G: Vulnerable . 6830.52 |========================================== PyBench 2018-02-16 Total For Average Test Times Milliseconds < Lower Is Better Ryzen 7 2700X: SSBD ....... 1539 |================================= Ryzen 7 2700X: Vulnerable . 1559 |================================== EPYC 7601: SSBD ........... 2086 |============================================= EPYC 7601: Vulnerable ..... 2076 |============================================= Ryzen 3 2200G: SSBD ....... 1790 |======================================= Ryzen 3 2200G: Vulnerable . 1794 |======================================= Apache Benchmark 2.4.29 Static Web Page Serving Requests Per Second > Higher Is Better Ryzen 7 2700X: SSBD ....... 30561.02 |==================================== Ryzen 7 2700X: Vulnerable . 30813.59 |==================================== EPYC 7601: SSBD ........... 17901.87 |===================== EPYC 7601: Vulnerable ..... 17887.19 |===================== Ryzen 3 2200G: SSBD ....... 34805.09 |========================================= Ryzen 3 2200G: Vulnerable . 35083.36 |========================================= PHPBench 0.8.1 PHP Benchmark Suite Score > Higher Is Better Ryzen 7 2700X: SSBD ....... 519603 |=========================================== Ryzen 7 2700X: Vulnerable . 517478 |=========================================== EPYC 7601: SSBD ........... 386120 |================================ EPYC 7601: Vulnerable ..... 386088 |================================ Ryzen 3 2200G: SSBD ....... 458502 |====================================== Ryzen 3 2200G: Vulnerable . 455102 |====================================== Git Time To Complete Common Git Commands Seconds < Lower Is Better Ryzen 7 2700X: SSBD ....... 5.46 |================================= Ryzen 7 2700X: Vulnerable . 5.40 |================================= EPYC 7601: SSBD ........... 7.36 |============================================= EPYC 7601: Vulnerable ..... 7.27 |============================================ Ryzen 3 2200G: SSBD ....... 6.13 |===================================== Ryzen 3 2200G: Vulnerable . 6.11 |===================================== Scikit-Learn 0.17.1 Seconds < Lower Is Better Ryzen 7 2700X: SSBD ....... 25.36 |======== Ryzen 7 2700X: Vulnerable . 25.31 |======== EPYC 7601: SSBD ........... 144.48 |=========================================== EPYC 7601: Vulnerable ..... 144.50 |=========================================== Ryzen 3 2200G: SSBD ....... 125.96 |===================================== Ryzen 3 2200G: Vulnerable . 123.74 |===================================== Perl Benchmarks Test: Pod2html Seconds < Lower Is Better Ryzen 7 2700X: SSBD ....... 0.14383901 |============================ Ryzen 7 2700X: Vulnerable . 0.14530132 |============================ EPYC 7601: SSBD ........... 0.20045042 |======================================= EPYC 7601: Vulnerable ..... 0.19238990 |===================================== Ryzen 3 2200G: SSBD ....... 0.16692850 |================================ Ryzen 3 2200G: Vulnerable . 0.16440514 |================================ Perl Benchmarks Test: Interpreter Seconds < Lower Is Better Ryzen 7 2700X: SSBD ....... 0.00106965 |==================== Ryzen 7 2700X: Vulnerable . 0.00110452 |===================== EPYC 7601: SSBD ........... 0.00209126 |======================================= EPYC 7601: Vulnerable ..... 0.00209769 |======================================= Ryzen 3 2200G: SSBD ....... 0.00139883 |========================== Ryzen 3 2200G: Vulnerable . 0.00136430 |========================= Stress-NG 0.07.26 Test: Forking Bogo Ops/s > Higher Is Better Ryzen 7 2700X: SSBD ....... 58451.48 |======================================== Ryzen 7 2700X: Vulnerable . 59902.92 |========================================= EPYC 7601: SSBD ........... 43442.24 |============================== EPYC 7601: Vulnerable ..... 49686.60 |================================== Ryzen 3 2200G: SSBD ....... 28512.83 |==================== Ryzen 3 2200G: Vulnerable . 29784.79 |==================== Stress-NG 0.07.26 Test: Semaphores Bogo Ops/s > Higher Is Better Ryzen 7 2700X: SSBD ....... 4490592.84 |====================== Ryzen 7 2700X: Vulnerable . 4470215.22 |====================== EPYC 7601: SSBD ........... 1597032.40 |======== EPYC 7601: Vulnerable ..... 1593274.94 |======== Ryzen 3 2200G: SSBD ....... 7641293.74 |===================================== Ryzen 3 2200G: Vulnerable . 8057541.78 |======================================= Stress-NG 0.07.26 Test: Socket Activity Bogo Ops/s > Higher Is Better Ryzen 7 2700X: SSBD ....... 6889.69 |================ Ryzen 7 2700X: Vulnerable . 7205.82 |================= EPYC 7601: Vulnerable ..... 17227.19 |========================================= Ryzen 3 2200G: SSBD ....... 2917.46 |======= Ryzen 3 2200G: Vulnerable . 3044.42 |======= Stress-NG 0.07.26 Test: Context Switching Bogo Ops/s > Higher Is Better Ryzen 7 2700X: SSBD ....... 4734667.28 |========== Ryzen 7 2700X: Vulnerable . 4766643.10 |========== EPYC 7601: Vulnerable ..... 17597048.97 |====================================== Ryzen 3 2200G: SSBD ....... 1377134.64 |=== Ryzen 3 2200G: Vulnerable . 1376458.10 |=== Stress-NG 0.07.26 Test: System V Message Passing Bogo Ops/s > Higher Is Better Ryzen 7 2700X: SSBD ....... 11846350.76 |====================================== Ryzen 7 2700X: Vulnerable . 11899692.71 |====================================== EPYC 7601: Vulnerable ..... 10735107.79 |================================== Ryzen 3 2200G: SSBD ....... 5087012.74 |================ Ryzen 3 2200G: Vulnerable . 3424065.12 |===========