AMD Zen 2 GCC compiler benchmarks on Ubuntu Linux. Tests by Michael Larabel for a future article.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 2003230-VE-1907117HV93
Znver2 GCC9 Compiler Tests,
"FFTW 3.3.6 - Build: Float + SSE - Size: 2D FFT Size 4096",
Higher Results Are Better
"-O3 -march=znver1",19475,19240,19501
"-O3 -march=znver2",19931,20095,19853
"ryzen3800x4200",17886,18867,17967
"CppPerformanceBenchmarks 9 - Test: Math Library",
Lower Results Are Better
"-O3 -march=x86-64",319.57152986526,300.02280712128,309.7051320076,318.72768187523
"-O3 -march=znver1",301.76010107994,316.84520316124,316.69440102577
"-O3 -march=znver2",312.20190501213,308.44288802147,306.41882205009
"ryzen3800x4200",281.498,282.14,281.998
"FFTW 3.3.6 - Build: Stock - Size: 2D FFT Size 4096",
Higher Results Are Better
"-O3 -march=x86-64",7042.3,7051.2,7024.8
"-O3 -march=znver1",7612.5,7728.8,7641.4
"-O3 -march=znver2",8056.9,7982.6,7965.5
"ryzen3800x4200",5951.2,5969.3,5984.4
"PostgreSQL pgbench 10.3 - Scaling: Buffer Test - Test: Normal Load - Mode: Read Write",
Higher Results Are Better
"-O3 -march=x86-64",29824.358916,30403.628238,30203.414655
"-O3 -march=znver1",30088.925541,30287.286171,26820.397602,29236.452037,29569.291647,30365.388108,30088.473619,30108.077422,29790.258338,30287.526723,30392.559227,26671.878245,26730.965002,30083.14877,30186.82767
"-O3 -march=znver2",29692.972391,30376.695084,30063.299607
"ryzen3800x4200",16699.186961,16719.267276,16748.701484
"Timed LLVM Compilation 6.0.1 - Time To Compile",
Lower Results Are Better
"-O3 -march=x86-64",281.89717912674
"-O3 -march=znver1",284.24197387695
"-O3 -march=znver2",286.564016819
"ryzen3800x4200",
"VP9 libvpx Encoding 1.8.0 - vpxenc VP9 1080p Video Encode",
Higher Results Are Better
"-O3 -march=x86-64",175.72,174.65,177.6
"-O3 -march=znver1",175.28,172.44,175.48
"-O3 -march=znver2",175.97,175.8,174.25
"ryzen3800x4200",204.84,200.85,201.54
"Memcached mcperf 1.5.10 - Method: Get",
Higher Results Are Better
"-O3 -march=x86-64",113676.9,114643.9,106836.6,107206.6,106496.3,105142.8,106297.5,107136.1,103161.2,105205.1,107867.1,106441.7,106229,113732.2,107149.8
"-O3 -march=znver1",116316.3,107986.8,124642.7,110838.3,115416.1,109260.5,108193.7,110792.5,113690,112625.9,105645,119208.4,113841.2,107992.8,110266.3
"-O3 -march=znver2",113363.4,118480.1,107566.9,104371.8,110982.9,115349.9,105177.9,104431.8,112528.4,110132,109690,113464,108209,113441.3,114149
"ryzen3800x4200",93411.4,102976.3,93621.3,96676.9,93730.5,93243.2,93044.1,93603.2,93579.1,94097.7,93499.2,93520.2,93246.5,93035.1
"PostgreSQL pgbench 10.3 - Scaling: Buffer Test - Test: Normal Load - Mode: Read Only",
Higher Results Are Better
"-O3 -march=x86-64",387185.031096,384639.858279,384707.966188
"-O3 -march=znver1",384322.625454,383198.871694,382466.412472
"-O3 -march=znver2",384164.911998,381675.513628,382412.79624
"ryzen3800x4200",262661.162978,265587.192211,264128.343087
"Stockfish 9 - Total Time",
Higher Results Are Better
"-O3 -march=x86-64",39413465,39526047,39674279
"-O3 -march=znver1",39636845,40319623,39769786
"-O3 -march=znver2",39899092,38986010,39530075
"ryzen3800x4200",27406776,27928021,27062876
"Memcached mcperf 1.5.10 - Method: Set",
Higher Results Are Better
"-O3 -march=x86-64",63187.3,60102.4,59816.1,59977.4
"-O3 -march=znver1",77767.1,59188.6,57634,57789,57949.7,57535.1,57337,60352.6,58013.7,58240,63076.7,57703.3,70410.7,59455.9,59702.3
"-O3 -march=znver2",57976,105205.4,58345.4,114025.2,56952.3,89026.6,58136.3,74833.3,57981.7,58183.1,57968.7,72716.3,58871.2,58475.3,58127.8
"ryzen3800x4200",63734.3,64001.9,63871.8
"MKL-DNN 2019-04-16 - Harness: IP Batch 1D - Data Type: f32",
Lower Results Are Better
"-O3 -march=x86-64",178.816,134.929,146.319,151.858,143.955,141.666,142.078,148.653,161.423,137.054,178.925,155.409,144.309,149.109,170.831
"-O3 -march=znver1",173.378,152.194,154.997,155.794,153.117,166.501,165.211,158.934,168.438,158.206,146.707,157.037,146.843,172.636,169.225
"-O3 -march=znver2",152.866,150.6,174.408,171.182,149.184,169.17,146.997,170.551,164.28,150.856,151.572,159.764,154.746,148.836,161.838
"ryzen3800x4200",22.1911,22.7919,22.9252
"GraphicsMagick 1.3.30 - Operation: Sharpen",
Higher Results Are Better
"-O3 -march=x86-64",
"-O3 -march=znver1",
"-O3 -march=znver2",195,194,193
"ryzen3800x4200",
"GraphicsMagick 1.3.30 - Operation: Rotate",
Higher Results Are Better
"-O3 -march=x86-64",260,261,261
"-O3 -march=znver1",259,260,260
"-O3 -march=znver2",273,277,277
"ryzen3800x4200",
"GraphicsMagick 1.3.30 - Operation: Resizing",
Higher Results Are Better
"-O3 -march=x86-64",
"-O3 -march=znver1",276,281,280
"-O3 -march=znver2",
"ryzen3800x4200",
"Himeno Benchmark 3.0 - Poisson Pressure Solver",
Higher Results Are Better
"-O3 -march=x86-64",1309.858919,1350.416482,1350.043648
"-O3 -march=znver1",1390.008545,1321.88161,1325.946943
"-O3 -march=znver2",1325.89567,1370.594979,1347.391961
"ryzen3800x4200",1282.666119,1268.889952,1271.833346
"Timed PHP Compilation 7.1.9 - Time To Compile",
Lower Results Are Better
"-O3 -march=x86-64",53.530845880508,52.768687963486,52.379179000854
"-O3 -march=znver1",53.465986013412,53.585366010666,53.257193088531
"-O3 -march=znver2",53.73184299469,53.052273988724,53.445381879807
"ryzen3800x4200",55.252,54.448,54.84
"Redis 4.0.8 - Test: SET",
Higher Results Are Better
"-O3 -march=x86-64",2079002,2212389.5,2040816.25,1930501.88,2257336.5,2000000,1956947.25,1988071.5,2127659.5,2237136.5,2114165,1897533.12,2114165,2079002,2087682.62
"-O3 -march=znver1",2074688.88,2066115.75,2217295,1972386.5,2132196,2237136.5,2155172.5,1980198,2012072.38,2049180.25,2032520.25,1883239.12,2074688.88,2247191,2066115.75
"-O3 -march=znver2",1908397,2109704.5,2109704.5,2049180.25,2118644,1996008,2079002,2237136.5,1996008,2242152.5,1976284.62,2118644,2222222.25,2192982.5,1988071.5
"ryzen3800x4200",1811594.25,1834862.38,2057613.12,2020202,1841620.62,2061855.62,1801801.75,1824817.62,1821493.5,1862197.38,1841620.62,1834862.38,1897533.12,2016129.12,1872659.25
"C-Ray 1.1 - Total Time - 4K, 16 Rays Per Pixel",
Lower Results Are Better
"-O3 -march=x86-64",43.142,43.221,43.249
"-O3 -march=znver1",39.375,39.423,39.454
"-O3 -march=znver2",39.396,39.519,39.478
"ryzen3800x4200",60.36,60.278,60.312
"MKL-DNN 2019-04-16 - Harness: Deconvolution Batch deconv_1d - Data Type: f32",
Lower Results Are Better
"-O3 -march=x86-64",225.672,220.224,217.089
"-O3 -march=znver1",211.182,217.589,232.025,211.622,213.298,218.683,224.216,222.368,218.453,224.984,217.809
"-O3 -march=znver2",228.05,211.299,217.282,219.338,212.01,212.228
"ryzen3800x4200",31.0282,30.6891,31.3089
"Redis 4.0.8 - Test: GET",
Higher Results Are Better
"-O3 -march=x86-64",2793296,3205128.25,2898550.75,3134796.25,3134796.25,3205128.25,3012048.25,3322259.25,2659574.5,2724795.5,2898550.75,3236246,3300330,3144654.25,2732240.5
"-O3 -march=znver1",3095975,3389830.75,3215434.25,2949852.5,3236246,3257328.75,3436426,2915452,2881844.25,3448276,2985074.5,3095975,2739726
"-O3 -march=znver2",2949852.5,2777777.75,2949852.5,3448276,3267974,2873563.25,3246753.25,3115264.75,3184713.25,3030303,3355704.5,2890173.5
"ryzen3800x4200",2732240.5,2680965.25,2673796.75
"AOBench - Size: 2048 x 2048 - Total Time",
Lower Results Are Better
"-O3 -march=x86-64",36.945724010468,35.879302024841,36.651968955994
"-O3 -march=znver1",35.257723093033,35.130989074707,35.030432939529
"-O3 -march=znver2",34.847894906998,34.432961940765,34.62789607048
"ryzen3800x4200",32.226,32.254,32.218
"7-Zip Compression 16.02 - Compress Speed Test",
Higher Results Are Better
"-O3 -march=x86-64",79338,78735,77891
"-O3 -march=znver1",78790,78295,78151
"-O3 -march=znver2",78840,78686,78160
"ryzen3800x4200",54735,54479,54390
"John The Ripper 1.9.0-jumbo-1 - Test: Blowfish",
Higher Results Are Better
"-O3 -march=x86-64",28519,28375,28310
"-O3 -march=znver1",28322,28188,28152
"-O3 -march=znver2",20332,20189,20174
"ryzen3800x4200",14011,13982,13987
"XZ Compression 5.2.4 - Compressing ubuntu-16.04.3-server-i386.img, Compression Level 9",
Lower Results Are Better
"-O3 -march=x86-64",25.309275865555,25.194683074951,25.147391080856
"-O3 -march=znver1",25.327750921249,24.921190023422,25.031943082809
"-O3 -march=znver2",25.398830890656,25.125466823578,25.099716901779
"ryzen3800x4200",32.911,32.867,32.818
"SciMark 2.0 - Computational Test: Composite",
Higher Results Are Better
"-O3 -march=x86-64",2825.22,2800.53,2733.24
"-O3 -march=znver1",3115.41,3128.46,3142.08
"-O3 -march=znver2",3705.63,3685.3,3710.98
"ryzen3800x4200",621.75,616.43,618.28
"MKL-DNN 2019-04-16 - Harness: Convolution Batch conv_alexnet - Data Type: f32",
Lower Results Are Better
"-O3 -march=x86-64",2509.79,2532.53,2493.81
"-O3 -march=znver1",2553.56,2600.51,2534.59
"-O3 -march=znver2",2512.24,2548.95,2513.59
"ryzen3800x4200",330.131,331.299,332.974
"CppPerformanceBenchmarks 9 - Test: Function Objects",
Lower Results Are Better
"-O3 -march=x86-64",15.017012834549,15.085099935532,14.58331990242
"-O3 -march=znver1",14.977301836014,15.008769989014,14.969524145126
"-O3 -march=znver2",14.236144065857,14.724322080612,14.728595018387
"ryzen3800x4200",15.593,15.666,15.628
"FLAC Audio Encoding 1.3.2 - WAV To FLAC",
Lower Results Are Better
"-O3 -march=x86-64",7.9006350040436,7.747495174408,7.7413370609283,7.7025527954102,7.6641058921814
"-O3 -march=znver1",8.2265441417694,8.2304539680481,8.1646420955658,8.0703670978546,8.0517919063568
"-O3 -march=znver2",8.2995669841766,8.1731078624725,8.1244609355927,7.9476327896118,8.0400860309601
"ryzen3800x4200",7.911,7.904,7.956,7.92,7.917
"LAME MP3 Encoding 3.100 - WAV To MP3",
Lower Results Are Better
"-O3 -march=x86-64",7.2988419532776,7.0702250003815,7.1134700775146
"-O3 -march=znver1",7.2243168354034,6.8460991382599,6.8616180419922,7.0012681484222
"-O3 -march=znver2",7.2867138385773,6.9197599887848,6.926017999649
"ryzen3800x4200",26.547,26.532,26.533
"x265 3.0 - H.265 1080p Video Encoding",
Higher Results Are Better
"-O3 -march=x86-64",53.46,53.18,53.34
"-O3 -march=znver1",52.91,53.23,53.3
"-O3 -march=znver2",52.69,53.07,52.96
"ryzen3800x4200",46.07,46.13,45.26
"FFTW 3.3.6 - Build: Float + SSE - Size: 1D FFT Size 4096",
Higher Results Are Better
"-O3 -march=znver1",52163,52260,50848
"-O3 -march=znver2",57528,55389,57039
"ryzen3800x4200",54986,55137,54744
"x264 2018-09-25 - H.264 Video Encoding",
Higher Results Are Better
"-O3 -march=x86-64",143.2,144.41,142.19
"-O3 -march=znver1",143.21,141.88,140.38
"-O3 -march=znver2",142.82,139.88,140.18
"ryzen3800x4200",102.06,101.8,102.06
"FFTW 3.3.6 - Build: Stock - Size: 1D FFT Size 4096",
Higher Results Are Better
"-O3 -march=x86-64",9512.3,9541.2,9550.6
"-O3 -march=znver1",11516,11342,11485
"-O3 -march=znver2",11031,11455,11206
"ryzen3800x4200",8511.7,8513.5,8506.6
"Bullet Physics Engine 2.81 - Test: Raytests",
Lower Results Are Better
"-O3 -march=x86-64",2.11033,2.1096,2.047725
"-O3 -march=znver1",2.145865,2.143686,2.08847
"-O3 -march=znver2",2.064465,2.055805,2.05821
"ryzen3800x4200",2.15525,2.155735,2.153265
"TSCP 1.81 - AI Chess Performance",
Higher Results Are Better
"-O3 -march=x86-64",1343360,1343360,1343360,1292906,1346645
"-O3 -march=znver1",1373511,1370094,1376945,1370094,1370094
"-O3 -march=znver2",1343360,1305161,1343360,1308261,1308261
"ryzen3800x4200",1274949,1269073,1269073,1269073,1274949
"Bullet Physics Engine 2.81 - Test: 136 Ragdolls",
Lower Results Are Better
"-O3 -march=x86-64",2.215554,2.176335,2.112905
"-O3 -march=znver1",2.140795,2.142751,2.094305
"-O3 -march=znver2",2.061544,2.049659,2.05161
"ryzen3800x4200",2.230486,2.228546,2.22844
"Bullet Physics Engine 2.81 - Test: 1000 Convex",
Lower Results Are Better
"-O3 -march=x86-64",3.738472,3.740375,3.62579
"-O3 -march=znver1",3.764425,3.760801,3.66447
"-O3 -march=znver2",3.604115,3.584251,3.58198
"ryzen3800x4200",3.86177,3.86416,3.861779
"Bullet Physics Engine 2.81 - Test: 1000 Stack",
Lower Results Are Better
"-O3 -march=x86-64",4.11552,4.12295,3.994741
"-O3 -march=znver1",4.016695,4.001976,3.909933
"-O3 -march=znver2",3.798315,3.786744,3.785665
"ryzen3800x4200",4.190381,4.183914,4.193429
"Bullet Physics Engine 2.81 - Test: 3000 Fall",
Lower Results Are Better
"-O3 -march=x86-64",3.407805,3.40288,3.30043
"-O3 -march=znver1",3.38732,3.382505,3.30554
"-O3 -march=znver2",3.246969,3.223715,3.222849
"ryzen3800x4200",3.5095,3.514979,3.503731
"SciMark 2.0 - Computational Test: Jacobi Successive Over-Relaxation",
Higher Results Are Better
"-O3 -march=x86-64",2165.71,2165.6,2105.4
"-O3 -march=znver1",2291.42,2291.85,2291.58
"-O3 -march=znver2",2421.57,2422.2,2422.52
"ryzen3800x4200",1259.77,1259.44,1259.53
"SciMark 2.0 - Computational Test: Dense LU Matrix Factorization",
Higher Results Are Better
"-O3 -march=x86-64",7025.15,7040.15,6813.77
"-O3 -march=znver1",8662.83,8580.28,8652.67
"-O3 -march=znver2",11419.85,11453.44,11422.49
"ryzen3800x4200",601.04,606.49,615.63
"SciMark 2.0 - Computational Test: Sparse Matrix Multiply",
Higher Results Are Better
"-O3 -march=x86-64",3858.35,3724.05,3704.9
"-O3 -march=znver1",3604.87,3752.6,3748.62
"-O3 -march=znver2",3615.23,3479.34,3633.31
"ryzen3800x4200",771.9,739.73,739.76
"SciMark 2.0 - Computational Test: Fast Fourier Transform",
Higher Results Are Better
"-O3 -march=x86-64",301.39,299.04,290.96
"-O3 -march=znver1",260.07,260.1,260.2
"-O3 -march=znver2",273.96,273.96,274.42
"ryzen3800x4200",322.9,323.23,323
"SciMark 2.0 - Computational Test: Monte Carlo",
Higher Results Are Better
"-O3 -march=x86-64",775.47,773.79,751.18
"-O3 -march=znver1",757.88,757.46,757.35
"-O3 -march=znver2",797.54,797.54,802.14
"ryzen3800x4200",153.13,153.23,153.48