LLVM 3.2 Clang Intel Linux Compiler

Intel Core i7-3960X Sandy Bridge Extreme Edition computer running Ubuntu 12.10 and comparing builds of LLVM/Clang 3.1 and LLVM/Clang 3.2 SVN. LLVM and Clang both times were built in release mode of --disable-assertions and --enable-optimized. Compiler flags passed to tests included -O3 and then each -march=nocona and -march=corei7-avx to see if there's any x86_64 compiler tuning optimizations when using corei7-avx for Intel Sandy Bridge CPUs. Benchmarking for a future article on Phoronix.com.

HTML result view exported from: https://openbenchmarking.org/result/1210095-RA-LLVM32CLA70&grt&sor.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen Resolutionnoconacorei7-avxnoconacorei7-avx LLVM-Clang 3.1 LLVM-Clang 3.1 LLVM-Clang 3.2 SVN LLVM-Clang 3.2 SVNIntel Core i7-3960X @ 3.30GHz (12 Cores)Intel DX79SIIntel Xeon E5/Core8192MB64GB OCZ VERTEXAMD Radeon HD 4650 512MBRealtek ALC892DELL S2409WIntel 82579LM Gigabit ConnectionUbuntu 12.103.6.0-030600-generic (x86_64)Unity 6.8.0X Server 1.13.0radeon 6.99.993.0 Mesa 9.0-devel Gallium 0.4Clang 3.1 + LLVM 3.1ext41920x1080Clang 3.2 (SVN 165433) + LLVM 3.2svnOpenBenchmarking.orgCompiler Details- nocona: LLVM-Clang 3.1, corei7-avx: LLVM-Clang 3.1: Optimized build; Built Oct 9 2012 (06:32:52); Default target: x86_64-unknown-linux-gnu; Host CPU: corei7-avx Processor Details- Scaling Governor: ondemandSystem Details- Compiz was running on this system.

apache: Static Web Page Servingc-ray: Total Timeencode-flac: WAV To FLACgraphics-magick: Blurgraphics-magick: Sharpengraphics-magick: Resizinggraphics-magick: HWB Color Spacegraphics-magick: Local Adaptive Thresholdinghimeno: Poisson Pressure Solverpgbench: TPC-B Transactions Per Secondsmallpt: Global Illumination Renderer; 100 Sampleshmmer: Pfam Database Searchbuild-php: Time To Compilenoconacorei7-avxnoconacorei7-avx LLVM-Clang 3.1 LLVM-Clang 3.1 LLVM-Clang 3.2 SVN LLVM-Clang 3.2 SVN16863.3226.346.418753104121451575.76366.3614715.4120.5716850.8726.306.418752104121491582.01360.5114615.4220.5716835.2421.626.407853107123481561.02370.4215715.4515.4716277.2520.996.36823189124451545.92377.9815215.3715.69OpenBenchmarking.org

Apache Benchmark

Static Web Page Serving

noconacorei7-avxOpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.3Static Web Page ServingLLVM-Clang 3.1LLVM-Clang 3.2 SVN4K8K12K16K20KSE +/- 71.80, N = 3SE +/- 26.63, N = 3SE +/- 43.37, N = 3SE +/- 299.58, N = 316863.3216835.2416850.8716277.251. (CC) gcc options: -shared -fPIC -pthread -march=corei7-avx -O3

C-Ray

Total Time

corei7-avxnoconaOpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeLLVM-Clang 3.2 SVNLLVM-Clang 3.1612182430SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.04, N = 3SE +/- 0.01, N = 320.9926.3021.6226.341. (CC) gcc options: -lm -lpthread -O3 -march=nocona

FLAC Audio Encoding

WAV To FLAC

corei7-avxnoconaOpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.2.1WAV To FLACLLVM-Clang 3.2 SVNLLVM-Clang 3.1246810SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.01, N = 5SE +/- 0.00, N = 56.366.416.406.411. (CXX) g++ options: -O3 -logg -lm

GraphicsMagick

Operation: Blur

corei7-avxnoconaOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: BlurLLVM-Clang 3.1LLVM-Clang 3.2 SVN20406080100SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3878287781. (CC) gcc options: -march=nocona -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: Sharpen

noconacorei7-avxOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: SharpenLLVM-Clang 3.2 SVNLLVM-Clang 3.11224364860SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3535352311. (CC) gcc options: -march=corei7-avx -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: Resizing

noconacorei7-avxOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: ResizingLLVM-Clang 3.2 SVNLLVM-Clang 3.120406080100SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3107104104891. (CC) gcc options: -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: HWB Color Space

corei7-avxnoconaOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: HWB Color SpaceLLVM-Clang 3.2 SVNLLVM-Clang 3.1306090120150SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 31241211231211. (CC) gcc options: -march=nocona -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: Local Adaptive Thresholding

corei7-avxnoconaOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Local Adaptive ThresholdingLLVM-Clang 3.1LLVM-Clang 3.2 SVN1122334455SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3494548451. (CC) gcc options: -O3 -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

Himeno Benchmark

Poisson Pressure Solver

corei7-avxnoconaOpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverLLVM-Clang 3.1LLVM-Clang 3.2 SVN30060090012001500SE +/- 2.49, N = 3SE +/- 3.54, N = 3SE +/- 1.69, N = 3SE +/- 2.19, N = 31582.011545.921575.761561.021. (CC) gcc options: -O3

PostgreSQL pgbench

TPC-B Transactions Per Second

corei7-avxnoconaOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 8.4.11TPC-B Transactions Per SecondLLVM-Clang 3.2 SVNLLVM-Clang 3.180160240320400SE +/- 0.65, N = 3SE +/- 4.65, N = 3SE +/- 6.91, N = 3SE +/- 6.05, N = 3377.98360.51370.42366.361. (CC) gcc options: -O3 -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm

Smallpt

Global Illumination Renderer; 100 Samples

corei7-avxnoconaOpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesLLVM-Clang 3.1LLVM-Clang 3.2 SVN306090120150SE +/- 0.33, N = 3SE +/- 0.58, N = 3SE +/- 0.33, N = 3SE +/- 0.88, N = 31461521471571. (CXX) g++ options: -fopenmp -march=nocona -O3

Timed HMMer Search

Pfam Database Search

corei7-avxnoconaOpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 2.3.2Pfam Database SearchLLVM-Clang 3.2 SVNLLVM-Clang 3.148121620SE +/- 0.04, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 315.3715.4215.4115.451. (CC) gcc options: -O3 -pthread -lhmmer -lsquid -lm

Timed PHP Compilation

Time To Compile

noconacorei7-avxOpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileLLVM-Clang 3.2 SVNLLVM-Clang 3.1510152025SE +/- 0.04, N = 3SE +/- 0.06, N = 3SE +/- 0.22, N = 6SE +/- 0.06, N = 315.4720.5715.6920.571. (CC) gcc options: -march=corei7-avx -O3 -pedantic -ldl -lpthread -lz -lm


Phoronix Test Suite v10.8.5