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&grs&sor.

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 Compilebdver3k8k8-sse3barcelonabdver1bdver2bdver3 + flto4080120160200SE +/- 0.03, N = 3SE +/- 0.06, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 3SE +/- 0.06, N = 3SE +/- 0.86, N = 320.2358.0958.1258.1560.5560.57184.15-march=bdver3-march=k8-march=k8-sse3-march=barcelona-march=bdver1-march=bdver2-march=bdver3 -flto1. (CC) gcc options: -O3 -pedantic -ldl -lz -lm

C-Ray

Total Time

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

GraphicsMagick

Operation: Sharpen

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Sharpenbdver1bdver3 + fltobdver3bdver2barcelonak8-sse3k81530456075SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 368676767584242-march=bdver1-march=bdver3 -flto-march=bdver3-march=bdver2-march=barcelona-march=k8-sse3-march=k81. (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 Compilek8k8-sse3barcelonabdver1bdver3bdver2bdver3 + flto20406080100SE +/- 0.28, N = 3SE +/- 0.14, N = 3SE +/- 0.15, N = 3SE +/- 0.04, N = 3SE +/- 0.10, N = 3SE +/- 0.27, N = 3SE +/- 0.10, N = 361.0661.0761.0761.2961.4061.7196.69

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.0WAV To FLACbdver1bdver3 + fltobdver2bdver3k8k8-sse3barcelona246810SE +/- 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 = 55.285.375.525.596.746.747.22-march=bdver1-march=bdver3 -flto-march=bdver2-march=bdver3-march=k8-march=k8-sse3-march=barcelona1. (CXX) g++ options: -O3 -fvisibility=hidden -logg -lm

GraphicsMagick

Operation: Blur

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Blurbdver3 + fltobdver3bdver2bdver1k8-sse3barcelonak820406080100SE +/- 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 = 3100100100100929177-march=bdver3 -flto-march=bdver3-march=bdver2-march=bdver1-march=k8-sse3-march=barcelona-march=k81. (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: Resizingbdver3 + fltobdver3bdver2bdver1barcelonak8-sse3k8306090120150SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3124124124124119102102-march=bdver3 -flto-march=bdver3-march=bdver2-march=bdver1-march=barcelona-march=k8-sse3-march=k81. (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 MP3bdver2bdver3bdver1bdver3 + fltok8-sse3k8barcelona510152025SE +/- 0.01, N = 5SE +/- 0.02, N = 5SE +/- 0.04, N = 5SE +/- 0.02, N = 5SE +/- 0.02, N = 5SE +/- 0.27, N = 5SE +/- 0.02, N = 519.6019.6119.6319.6720.6120.8522.28-march=bdver2-march=bdver3-march=bdver1-march=bdver3 -flto-march=k8-sse3-march=k8-march=barcelona1. (CC) gcc options: -pipe -O3 -lncurses -lm

GraphicsMagick

Operation: Local Adaptive Thresholding

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Local Adaptive Thresholdingbdver3 + fltobdver3bdver2bdver1barcelonak8k8-sse320406080100SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 382818181777776-march=bdver3 -flto-march=bdver3-march=bdver2-march=bdver1-march=barcelona-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 Spacebdver3 + fltobdver3bdver2bdver1barcelonak8-sse3k8306090120150SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3137137137137137129129-march=bdver3 -flto-march=bdver3-march=bdver2-march=bdver1-march=barcelona-march=k8-sse3-march=k81. (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 DVbdver3bdver3 + fltobdver2k8barcelonak8-sse3bdver1510152025SE +/- 0.08, N = 3SE +/- 0.15, N = 3SE +/- 0.07, N = 3SE +/- 0.05, N = 3SE +/- 0.09, N = 3SE +/- 0.12, N = 3SE +/- 0.03, N = 321.6021.6521.6921.7321.7721.7821.95-march=native-march=bdver3 -flto-march=bdver2-march=k8-march=barcelona-march=k8-sse3-march=bdver11. (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 Solverbdver1bdver3bdver3 + fltobdver2barcelonak8k8-sse32004006008001000SE +/- 1.93, N = 3SE +/- 2.02, N = 3SE +/- 0.76, N = 3SE +/- 3.58, N = 3SE +/- 1.09, N = 3SE +/- 0.27, N = 3SE +/- 0.82, N = 3883.06882.11880.95872.22871.17870.33869.53-march=bdver1-march=bdver3-march=bdver3 -flto-march=bdver2-march=barcelona-march=k8-march=k8-sse31. (CC) gcc options: -O3


Phoronix Test Suite v10.8.5