Compiler Optimizations For AMD Steamroller/Kaveri

Compiler benchmarks by Michael Larabel for a future article on Phoronix.com

HTML result view exported from: https://openbenchmarking.org/result/1408161-KH-COMPILERO99&sro&grs.

Compiler Optimizations For AMD Steamroller/KaveriProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen Resolutionk8k8-sse3barcelonabdver1bdver2bdver3bdver3 + fltoAMD A10-7800 Radeon R7 12 Compute Cores 4C+8G @ 3.50GHz (4 Cores)ASUS A88X-PROAMD Family 15h7168MB64GB OCZ AGILITYASUS AMD Radeon R7 200 1024MBAMD Kaveri HDMI/DPSyncMasterRealtek RTL8111/8168/8411Ubuntu 14.043.16.0-031600-generic (x86_64)Unity 7.2.2X Server 1.15.1radeon 7.4.993.3 Mesa 10.3.0-devel (git-b1843a2 2014-08-10 trusty-oibaf-ppa+gallium-nine) Gallium 0.4GCC 4.10.0 20140810ext42560x1600OpenBenchmarking.orgCompiler Details- --disable-multilib --enable-checking=release --enable-languages=c,c++Processor Details- Scaling Governor: acpi-cpufreq ondemand

Compiler Optimizations For AMD Steamroller/Kaveribuild-php: Time To Compilec-ray: Total Timegraphics-magick: Sharpenbuild-apache: Time To Compileencode-flac: WAV To FLACgraphics-magick: Blurgraphics-magick: Resizingencode-mp3: WAV To MP3graphics-magick: Local Adaptive Thresholdinggraphics-magick: HWB Color Spaceffmpeg: H.264 HD To NTSC DVhimeno: Poisson Pressure Solverk8k8-sse3barcelonabdver1bdver2bdver3bdver3 + flto58.0996.894261.066.747710220.857712921.73870.3358.1296.934261.076.749210220.617612921.78869.5358.1565.575861.077.229111922.287713721.77871.1760.5547.436861.295.2810012419.638113721.95883.0660.5747.326761.715.5210012419.608113721.69872.2220.2347.316761.405.5910012419.618113721.60882.11184.1547.416796.695.3710012419.678213721.65880.95OpenBenchmarking.org

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To Compilebarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse34080120160200SE +/- 0.02, N = 3SE +/- 0.03, N = 3SE +/- 0.06, N = 3SE +/- 0.03, N = 3SE +/- 0.86, N = 3SE +/- 0.06, N = 3SE +/- 0.02, N = 358.1560.5560.5720.23184.1558.0958.12-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -O3 -pedantic -ldl -lz -lm

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Timebarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse320406080100SE +/- 0.06, N = 3SE +/- 0.04, N = 3SE +/- 0.04, N = 3SE +/- 0.09, N = 3SE +/- 0.02, N = 3SE +/- 0.07, N = 3SE +/- 0.09, N = 365.5747.4347.3247.3147.4196.8996.93-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -lm -lpthread -O3

GraphicsMagick

Operation: Sharpen

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Sharpenbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse31530456075SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 358686767674242-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ljbig -lwebp -ljpeg -lXext -lSM -lICE -lX11 -llzma -lxml2 -lz -lm -lpthread

Timed Apache Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed Apache Compilation 2.4.7Time To Compilebarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse320406080100SE +/- 0.15, N = 3SE +/- 0.04, N = 3SE +/- 0.27, N = 3SE +/- 0.10, N = 3SE +/- 0.10, N = 3SE +/- 0.28, N = 3SE +/- 0.14, N = 361.0761.2961.7161.4096.6961.0661.07

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.0WAV To FLACbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse3246810SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 57.225.285.525.595.376.746.74-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CXX) g++ options: -O3 -fvisibility=hidden -logg -lm

GraphicsMagick

Operation: Blur

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Blurbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse320406080100SE +/- 0.33, N = 3SE +/- 0.58, N = 3SE +/- 0.33, N = 3SE +/- 0.58, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3911001001001007792-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ljbig -lwebp -ljpeg -lXext -lSM -lICE -lX11 -llzma -lxml2 -lz -lm -lpthread

GraphicsMagick

Operation: Resizing

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Resizingbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse3306090120150SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3119124124124124102102-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ljbig -lwebp -ljpeg -lXext -lSM -lICE -lX11 -llzma -lxml2 -lz -lm -lpthread

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3barcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse3510152025SE +/- 0.02, N = 5SE +/- 0.04, N = 5SE +/- 0.01, N = 5SE +/- 0.02, N = 5SE +/- 0.02, N = 5SE +/- 0.27, N = 5SE +/- 0.02, N = 522.2819.6319.6019.6119.6720.8520.61-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -pipe -O3 -lncurses -lm

GraphicsMagick

Operation: Local Adaptive Thresholding

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Local Adaptive Thresholdingbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse320406080100SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 377818181827776-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ljbig -lwebp -ljpeg -lXext -lSM -lICE -lX11 -llzma -lxml2 -lz -lm -lpthread

GraphicsMagick

Operation: HWB Color Space

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: HWB Color Spacebarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse3306090120150SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3137137137137137129129-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ljbig -lwebp -ljpeg -lXext -lSM -lICE -lX11 -llzma -lxml2 -lz -lm -lpthread

FFmpeg

H.264 HD To NTSC DV

OpenBenchmarking.orgSeconds, Fewer Is BetterFFmpeg 2.1.1H.264 HD To NTSC DVbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse3510152025SE +/- 0.09, N = 3SE +/- 0.03, N = 3SE +/- 0.07, N = 3SE +/- 0.08, N = 3SE +/- 0.15, N = 3SE +/- 0.05, N = 3SE +/- 0.12, N = 321.7721.9521.6921.6021.6521.7321.78-march=barcelona-march=bdver1-march=bdver2-march=native-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -lXv -lX11 -lXext -lasound -lSDL -lm -pthread -O3 -std=c99 -fomit-frame-pointer -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -MMD -MF -MT

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure Solverbarcelonabdver1bdver2bdver3bdver3 + fltok8k8-sse32004006008001000SE +/- 1.09, N = 3SE +/- 1.93, N = 3SE +/- 3.58, N = 3SE +/- 2.02, N = 3SE +/- 0.76, N = 3SE +/- 0.27, N = 3SE +/- 0.82, N = 3871.17883.06872.22882.11880.95870.33869.53-march=barcelona-march=bdver1-march=bdver2-march=bdver3-march=bdver3 -flto-march=k8-march=k8-sse31. (CC) gcc options: -O3


Phoronix Test Suite v10.8.5