LLVM Clang 3.8 Compiler Tuning

Intel Xeon E5-2687W v3 testing with a MSI X99S SLI PLUS (MS-7885) v1.0 and AMD FirePro V7900 2048MB on Ubuntu 16.04 via the Phoronix Test Suite.

HTML result view exported from: https://openbenchmarking.org/result/1602049-GA-LLVMCLANG61&sor&grt.

LLVM Clang 3.8 Compiler TuningProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen Resolution-O0-O1-O2-Oz-O3-O3 -march=nativeIntel Xeon E5-2687W v3 @ 3.50GHz (20 Cores)MSI X99S SLI PLUS (MS-7885) v1.0Intel Xeon E7 v3/Xeon16384MBPNY CS1211 120GB + 80GB INTEL SSDSCKGW08AMD FirePro V7900 2048MBRealtek ALC892ASUS PB278Intel ConnectionUbuntu 16.044.5.0-040500rc1-generic (x86_64) 20160124Unity 7.4.0X Server 1.17.3radeon 7.6.13.3 Mesa 11.0.8 Gallium 0.4Clang 3.8.0 (SVN 259676) + LLVM 3.8.0ext42560x1440OpenBenchmarking.orgCompiler Details- Optimized build; Built Feb 3 2016 (13:57:10); Default target: x86_64-unknown-linux-gnu; Host CPU: haswellProcessor Details- Scaling Governor: intel_pstate powersave

LLVM Clang 3.8 Compiler Tuningapache: Static Web Page Servingc-ray: Total Timeencode-flac: WAV To FLACgraphics-magick: Blurgraphics-magick: Sharpengraphics-magick: HWB Color Spacegraphics-magick: Local Adaptive Thresholdinghint: FLOAThimeno: Poisson Pressure Solverencode-mp3: WAV To MP3pgbench: Buffer Test - Normal Load - Read Writepgbench: Buffer Test - Single Thread - Read Writepgbench: Buffer Test - Heavy Contention - Read Writeredis: LPOPredis: SADDredis: LPUSHredis: GETredis: SETscimark2: Compositescimark2: Monte Carloscimark2: Fast Fourier Transformscimark2: Sparse Matrix Multiplyscimark2: Dense LU Matrix Factorizationscimark2: Jacobi Successive Over-Relaxationsmallpt: Global Illumination Renderer; 100 Samplesbuild-apache: Time To Compilehmmer: Pfam Database Searchbuild-php: Time To Compile-O0-O1-O2-Oz-O3-O3 -march=native23021.4227.5857.4467618318112554681.82284.5837.105007.75284.515176.52541334.66481943.16456864.10527734.53468101.811803.18238.14358.282807.964133.951477.579.2512.184.2423380.2316.309.1211611115070266823791.591334.4715.685049.34348.865209.08642965.38587106.65585266.59625334.40575054.871807.18237.83357.192776.504187.611476.7417.8315.998.9323360.8519.818.6511911315081322378022.361359.0113.954968.10379.005050.83633016.31599041.21570314.27624757.29579653.251802.36234.76363.592798.014137.161478.301221.2714.0211.8223342.1619.7012.2711310814471314508487.411002.2416.884736.91357.324911.10631316.90581864.31589078.56632178.77585438.601812.18237.11357.502806.624181.891477.781319.2215.099.5523283.0713.218.6611911315080321885788.841354.2914.384597.65351.754630.05642800.77592835.98587392.23649056.62582801.371793.50237.63358.052766.534127.101478.191221.6715.1315.7923355.4612.787.1111710715084268576816.541342.9415.225092.20362.585342.15624901.33587747.73575188.23642443.67580208.841918.30235.58362.392613.774901.041478.721221.8714.8015.93OpenBenchmarking.org

Apache Benchmark

Static Web Page Serving

OpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.7Static Web Page Serving-O1-O2-O3 -march=native-Oz-O3-O05K10K15K20K25KSE +/- 55.39, N = 3SE +/- 64.64, N = 3SE +/- 103.00, N = 3SE +/- 21.97, N = 3SE +/- 43.31, N = 3SE +/- 50.43, N = 323380.2323360.8523355.4623342.1623283.0723021.42-O1-O2-O3 -march=native-Oz-O3-O01. (CC) gcc options: -shared -fPIC -pthread

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time-O3 -march=native-O3-O1-Oz-O2-O0612182430SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 312.7813.2116.3019.7019.8127.58-march=native-O1-Oz-O2-O01. (CC) gcc options: -lm -lpthread -O3

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.1WAV To FLAC-O3 -march=native-O2-O3-O1-Oz-O01326395265SE +/- 0.03, N = 5SE +/- 0.10, N = 5SE +/- 0.11, N = 5SE +/- 0.10, N = 5SE +/- 0.14, N = 5SE +/- 0.15, N = 57.118.658.669.1212.2757.44-O3 -march=native-O2-O3-O1-Oz-O01. (CXX) g++ options: -logg -lm

GraphicsMagick

Operation: Blur

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Blur-O3-O2-O3 -march=native-O1-Oz-O0306090120150SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.88, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 311911911711611367-O3-O2-O3 -march=native-O1-Oz-O01. (CC) gcc options: -fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lSM -lICE -lX11 -llzma -lz -lm -lgomp -lpthread

GraphicsMagick

Operation: Sharpen

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Sharpen-O3-O2-O1-Oz-O3 -march=native-O0306090120150SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 311311311110810761-O3-O2-O1-Oz-O3 -march=native-O01. (CC) gcc options: -fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lSM -lICE -lX11 -llzma -lz -lm -lgomp -lpthread

GraphicsMagick

Operation: HWB Color Space

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: HWB Color Space-O3 -march=native-O3-O2-O1-Oz-O0306090120150SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 315015015015014483-O3 -march=native-O3-O2-O1-Oz-O01. (CC) gcc options: -fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lSM -lICE -lX11 -llzma -lz -lm -lgomp -lpthread

GraphicsMagick

Operation: Local Adaptive Thresholding

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Local Adaptive Thresholding-O3 -march=native-O2-O3-Oz-O1-O020406080100SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3848180717018-O3 -march=native-O2-O3-Oz-O1-O01. (CC) gcc options: -fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lSM -lICE -lX11 -llzma -lz -lm -lgomp -lpthread

Hierarchical INTegration

Test: FLOAT

OpenBenchmarking.orgQUIPs, More Is BetterHierarchical INTegration 1.0Test: FLOAT-O2-O3-Oz-O3 -march=native-O1-O070M140M210M280M350MSE +/- 1309178.89, N = 3SE +/- 328417.31, N = 3SE +/- 1422860.99, N = 3SE +/- 865143.17, N = 3SE +/- 452959.10, N = 3SE +/- 392885.93, N = 3322378022.36321885788.84314508487.41268576816.54266823791.59112554681.82-O2-O3-Oz-O3 -march=native-O1-O01. (CC) gcc options: -lm

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure Solver-O2-O3-O3 -march=native-O1-Oz-O030060090012001500SE +/- 6.85, N = 3SE +/- 1.53, N = 3SE +/- 0.76, N = 3SE +/- 8.91, N = 3SE +/- 2.77, N = 3SE +/- 1.80, N = 31359.011354.291342.941334.471002.24284.58-O2-march=native-O1-Oz-O01. (CC) gcc options: -O3 -mavx2

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3-O2-O3-O3 -march=native-O1-Oz-O0918273645SE +/- 0.12, N = 5SE +/- 0.21, N = 5SE +/- 0.07, N = 5SE +/- 0.19, N = 5SE +/- 0.23, N = 5SE +/- 0.11, N = 513.9514.3815.2215.6816.8837.10-O2-O3-O3 -march=native-O1-Oz-O01. (CC) gcc options: -pipe -lm

PostgreSQL pgbench

Scaling: Buffer Test - Test: Normal Load - Mode: Read Write

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.4.3Scaling: Buffer Test - Test: Normal Load - Mode: Read Write-O3 -march=native-O1-O0-O2-Oz-O311002200330044005500SE +/- 139.97, N = 6SE +/- 39.17, N = 3SE +/- 68.30, N = 3SE +/- 90.64, N = 3SE +/- 34.48, N = 3SE +/- 93.61, N = 65092.205049.345007.754968.104736.914597.65-O3 -march=native-O1-O0-O2-Oz-O31. (CC) gcc options: -fno-strict-aliasing -fwrapv -pthread -pthreads -mthreads -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

PostgreSQL pgbench

Scaling: Buffer Test - Test: Single Thread - Mode: Read Write

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.4.3Scaling: Buffer Test - Test: Single Thread - Mode: Read Write-O2-O3 -march=native-Oz-O3-O1-O080160240320400SE +/- 3.72, N = 3SE +/- 4.92, N = 5SE +/- 5.12, N = 5SE +/- 6.37, N = 3SE +/- 6.43, N = 6SE +/- 4.11, N = 3379.00362.58357.32351.75348.86284.51-O2-O3 -march=native-Oz-O3-O1-O01. (CC) gcc options: -fno-strict-aliasing -fwrapv -pthread -pthreads -mthreads -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

PostgreSQL pgbench

Scaling: Buffer Test - Test: Heavy Contention - Mode: Read Write

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.4.3Scaling: Buffer Test - Test: Heavy Contention - Mode: Read Write-O3 -march=native-O1-O0-O2-Oz-O311002200330044005500SE +/- 97.00, N = 6SE +/- 22.85, N = 3SE +/- 54.54, N = 3SE +/- 5.93, N = 3SE +/- 79.23, N = 4SE +/- 68.69, N = 35342.155209.085176.525050.834911.104630.05-O3 -march=native-O1-O0-O2-Oz-O31. (CC) gcc options: -fno-strict-aliasing -fwrapv -pthread -pthreads -mthreads -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

Redis

Test: LPOP

OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: LPOP-O1-O3-O2-Oz-O3 -march=native-O0140K280K420K560K700KSE +/- 2297.03, N = 3SE +/- 6373.30, N = 3SE +/- 8627.19, N = 3SE +/- 6559.78, N = 3SE +/- 7141.78, N = 3SE +/- 5474.55, N = 3642965.38642800.77633016.31631316.90624901.33541334.661. (CC) gcc options: -ggdb -rdynamic -lm -pthread -ldl

Redis

Test: SADD

OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: SADD-O2-O3-O3 -march=native-O1-Oz-O0130K260K390K520K650KSE +/- 6002.71, N = 3SE +/- 4485.63, N = 3SE +/- 7782.07, N = 3SE +/- 6376.53, N = 3SE +/- 8371.51, N = 3SE +/- 4708.54, N = 3599041.21592835.98587747.73587106.65581864.31481943.161. (CC) gcc options: -ggdb -rdynamic -lm -pthread -ldl

Redis

Test: LPUSH

OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: LPUSH-Oz-O3-O1-O3 -march=native-O2-O0130K260K390K520K650KSE +/- 10683.69, N = 3SE +/- 9549.58, N = 3SE +/- 8816.15, N = 5SE +/- 8620.97, N = 3SE +/- 7327.04, N = 3SE +/- 7778.94, N = 4589078.56587392.23585266.59575188.23570314.27456864.101. (CC) gcc options: -ggdb -rdynamic -lm -pthread -ldl

Redis

Test: GET

OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: GET-O3-O3 -march=native-Oz-O1-O2-O0140K280K420K560K700KSE +/- 11447.92, N = 3SE +/- 10103.06, N = 3SE +/- 12112.33, N = 3SE +/- 9198.37, N = 6SE +/- 6780.00, N = 3SE +/- 2815.08, N = 3649056.62642443.67632178.77625334.40624757.29527734.531. (CC) gcc options: -ggdb -rdynamic -lm -pthread -ldl

Redis

Test: SET

OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: SET-Oz-O3-O3 -march=native-O2-O1-O0130K260K390K520K650KSE +/- 4629.62, N = 3SE +/- 8917.10, N = 3SE +/- 9778.12, N = 4SE +/- 8932.93, N = 3SE +/- 9986.25, N = 3SE +/- 8333.77, N = 3585438.60582801.37580208.84579653.25575054.87468101.811. (CC) gcc options: -ggdb -rdynamic -lm -pthread -ldl

SciMark

Computational Test: Composite

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Composite-O3 -march=native-Oz-O1-O0-O2-O3400800120016002000SE +/- 9.31, N = 4SE +/- 12.05, N = 4SE +/- 14.83, N = 4SE +/- 20.39, N = 4SE +/- 11.55, N = 4SE +/- 16.52, N = 41918.301812.181807.181803.181802.361793.50-O3 -march=native-Oz-O1-O0-O2-O31. (CXX) g++ options:

SciMark

Computational Test: Monte Carlo

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte Carlo-O0-O1-O3-Oz-O3 -march=native-O250100150200250SE +/- 4.62, N = 4SE +/- 5.20, N = 4SE +/- 5.13, N = 4SE +/- 5.01, N = 4SE +/- 4.92, N = 4SE +/- 4.95, N = 4238.14237.83237.63237.11235.58234.76-O0-O1-O3-Oz-O3 -march=native-O21. (CXX) g++ options:

SciMark

Computational Test: Fast Fourier Transform

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier Transform-O2-O3 -march=native-O0-O3-Oz-O180160240320400SE +/- 1.41, N = 4SE +/- 6.39, N = 4SE +/- 5.39, N = 4SE +/- 6.29, N = 4SE +/- 6.36, N = 4SE +/- 6.22, N = 4363.59362.39358.28358.05357.50357.19-O2-O3 -march=native-O0-O3-Oz-O11. (CXX) g++ options:

SciMark

Computational Test: Sparse Matrix Multiply

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix Multiply-O0-Oz-O2-O1-O3-O3 -march=native6001200180024003000SE +/- 55.30, N = 4SE +/- 46.34, N = 4SE +/- 47.39, N = 4SE +/- 51.42, N = 4SE +/- 47.81, N = 4SE +/- 44.72, N = 42807.962806.622798.012776.502766.532613.77-O0-Oz-O2-O1-O3-O3 -march=native1. (CXX) g++ options:

SciMark

Computational Test: Dense LU Matrix Factorization

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix Factorization-O3 -march=native-O1-Oz-O2-O0-O311002200330044005500SE +/- 23.42, N = 4SE +/- 50.41, N = 4SE +/- 52.55, N = 4SE +/- 52.48, N = 4SE +/- 72.62, N = 4SE +/- 42.70, N = 44901.044187.614181.894137.164133.954127.10-O3 -march=native-O1-Oz-O2-O0-O31. (CXX) g++ options:

SciMark

Computational Test: Jacobi Successive Over-Relaxation

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-Relaxation-O3 -march=native-O2-O3-Oz-O0-O130060090012001500SE +/- 32.04, N = 4SE +/- 32.10, N = 4SE +/- 32.07, N = 4SE +/- 31.89, N = 4SE +/- 31.80, N = 4SE +/- 33.02, N = 41478.721478.301478.191477.781477.571476.74-O3 -march=native-O2-O3-Oz-O0-O11. (CXX) g++ options:

Smallpt

Global Illumination Renderer; 100 Samples

OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 Samples-O2-O3-O3 -march=native-Oz3691215SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 312121213-O2-O3-O3 -march=native-Oz1. (CXX) g++ options: -fopenmp

Timed Apache Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed Apache Compilation 2.4.7Time To Compile-O0-O1-Oz-O2-O3-O3 -march=native510152025SE +/- 0.12, N = 3SE +/- 0.12, N = 3SE +/- 0.03, N = 3SE +/- 0.20, N = 3SE +/- 0.13, N = 3SE +/- 0.16, N = 39.2517.8319.2221.2721.6721.87

Timed HMMer Search

Pfam Database Search

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 2.3.2Pfam Database Search-O0-O2-O3 -march=native-Oz-O3-O148121620SE +/- 0.05, N = 3SE +/- 0.60, N = 6SE +/- 0.46, N = 6SE +/- 0.44, N = 6SE +/- 0.29, N = 6SE +/- 0.19, N = 312.1814.0214.8015.0915.1315.99-O0-O2-O3 -march=native-Oz-O3-O11. (CC) gcc options: -pthread -lhmmer -lsquid -lm

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To Compile-O0-O1-Oz-O2-O3-O3 -march=native48121620SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.04, N = 3SE +/- 0.06, N = 3SE +/- 0.06, N = 34.248.939.5511.8215.7915.93-O0-O1-Oz-O2-O3-O3 -march=native1. (CC) gcc options: -pedantic -ldl -lz -lm


Phoronix Test Suite v10.8.5